@aceandtate/styled-ui 中文文档教程

发布于 6年前 浏览 17 项目主页 更新于 3年前

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
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文