0.1.1 • Published 2 years ago

storybook-web v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Setting

npm install

Development

  • React
npm start

Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying src/index.js. The page auto-updates as you edit the file.

  • Storybook
npm run storybook

Build

  • React
npm run build
  • Storybook
npm run build-storybook

Folder structure

React

- src/
  ㄴ assets/
    ㄴ fonts/
    ㄴ images/
    ㄴ scss/
  ㄴ components/
  ㄴ pages/

Storybook

- src/
  ㄴ stories/
    ㄴ components/
    ㄴ pages/
  ㄴ storybook-static/ (builded storybook)