Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chinsun9/go-home-time
๐ get off work
https://github.com/chinsun9/go-home-time
pwa react redux typescript
Last synced: 12 days ago
JSON representation
๐ get off work
- Host: GitHub
- URL: https://github.com/chinsun9/go-home-time
- Owner: chinsun9
- Created: 2020-12-16T09:00:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-08T14:43:47.000Z (about 3 years ago)
- Last Synced: 2024-12-03T02:09:49.494Z (2 months ago)
- Topics: pwa, react, redux, typescript
- Language: TypeScript
- Homepage: https://chinsun9.github.io/go-home-time/
- Size: 9.9 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go home time
- typescript react๋ก ๋ง๋ค์ด๋ณธ ํด๊ทผ์๊ฐ ๊ณ์ฐ๊ธฐ
## ๋ฐ๋ชจ
- [github-pages](https://chinsun9.github.io/go-home-time/)
[![์์ฐ์์](https://img.youtube.com/vi/GYJGwfwHE2A/0.jpg)](https://www.youtube.com/watch?v=GYJGwfwHE2A)
## ๊ธฐ๋ฅ
### ๋ฉ์ธ ํ์ด์ง
- ๋ชฉํ ์๊ฐ๊น์ง ๋จ์ ์๊ฐ ๊ณ์ฐ
- url param์ ํตํด ๋ชฉํ ์๊ฐ ์ธํ
- ๋ชฉํ ์๊ฐ์ด ์ง๋๋ฉด ํด๊ทผํ๋ผ๋ ๋ฉ์์ง๋ฅผ ๋ฐ์### start/n ํ์ด์ง
- ์ถ๊ทผํ ์๊ฐ์ผ๋ก๋ถํฐ n์๊ฐ ํ ํด๊ทผ ์๊ฐ ์๋ฆผ
- https://chinsun9.github.io/go-home-time/start/9### about ํ์ด์ง
- ๋งํฌ ๊ณต์ ๊ธฐ๋ฅ
- ํด๊ทผ ์๊ฐ ์ค์ ๊ธฐ๋ฅ
- ์๋ ํด๋ฆฝ๋ณด๋ ๋ณต์ฌ## ๊นํ๋ธ ํ์ด์ง spa ์ธํ
- https://iamsjy17.github.io/react/2018/11/04/githubpage-SPA.html
- ์๋ฆฌ. 404ํ์ด์ง์ ์คํฌ๋ฆฝํธ๋ฅผ ๋๊ณ indexํ์ด์ง๋ก url ํ๋ผ๋งคํฐ๋ก ๋๊น## ๋ฐฐ๊ฒฝ์ด๋ฏธ์ง
- https://unsplash.com/photos/WVIkqpoKz1I
- Photo by @swayte on Unsplash## project setup command
```js
// cra(ts), eslint, prettier, airbnb style// redux
yarn add redux react-redux @types/react-redux// typesafe-actions
yarn add typesafe-actions// gsap
yarn add gsap// react-router-dom
yarn add react-router-dom
yarn add @types/react-router-dom// moment
yarn add moment// gh-pages
yarn add gh-pages
```## ํด๊ฒฐํ ๋ฌธ์ ๋ค
### gsap ์ ์ฉ์๋จ
- https://github.com/greensock/GSAP/issues/285#issuecomment-433729632
```tsx Share.tsx
import { Power3, TimelineLite } from 'gsap';
import CSSPlugin from 'gsap/CSSPlugin'; // ์ถ๊ฐ// eslint-disable-next-line @typescript-eslint/no-unused-vars
const C = CSSPlugin; // ์ถ๊ฐ
```- ๋ก์ปฌ์์๋ ์ ๋๋ฉ์ด์ ์ด ์ ์คํ๋์๋๋ฐ, ๋น๋ ํ ์ ๋๋ฉ์ด์ ์ด ์ ๋์ค๋ ๋ฌธ์ ํด๊ฒฐ