Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sky0621/study-nextjs
https://github.com/sky0621/study-nextjs
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sky0621/study-nextjs
- Owner: sky0621
- License: mit
- Created: 2024-06-01T00:58:26.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-01T04:07:25.000Z (7 months ago)
- Last Synced: 2024-06-02T02:54:28.602Z (7 months ago)
- Language: CSS
- Size: 294 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# study-nextjs
## init
```
npm init -y
```### add workspace
```
npm init -y -w workspaces/shared
``````
npm init -y -w workspaces/n1
```## add dev package
```
npm install --save-dev typescript eslint eslint-config-next prettier @types/node @types/react @types/react-dom @storybook/react @storybook/nextjs @storybook/testing-library
```### storybook
```
cd workspaces/shared
npx storybook@latest init
```## add package
### shared
```
npm install -w workspaces/shared --save react react-dom next clsx
```### n1
```
npm install -w workspaces/n1 --save react react-dom next clsx
```