@aceandtate/styled-ui 中文文档教程
styled-ui
王牌 Tate's ui kit for react made with styled components
Installation
npm install --save @aceandtate/styled-ui
Development
npm install
npm run storybook
打开 http://localhost:6006/ 可以看到 storybook 应用
有关 storybook 的更多信息
Running tests
npm test
Update snapshots
npm test -- -u
Build scripts
Build files
To构建 lib 文件
npm run build
Storybook
将故事书构建成静态文件 故事书
npm run build-storybook
的静态版本可以在 https://aceandtate.github.io/styled-ui 找到="https://pages.github.com/">github 页面。
Update online style guilde
npm run deploy-storybook
Todos
- [ ] Update github pages as part of Circle CI
styled-ui
Ace & Tate's ui kit for react made with styled components
Installation
npm install --save @aceandtate/styled-ui
Development
npm install
npm run storybook
Open http://localhost:6006/ to see the storybook application
For more information about storybook
Running tests
npm test
Update snapshots
npm test -- -u
Build scripts
Build files
To build the lib files
npm run build
Storybook
To build storybook into static files
npm run build-storybook
A static version of storybook can be found at https://aceandtate.github.io/styled-ui The static version lives in the brance gh-pages and is picked up but github pages.
Update online style guilde
npm run deploy-storybook
Todos
- [ ] Update github pages as part of Circle CI