https://github.com/startdusk/tiny-ui
https://github.com/startdusk/tiny-ui
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/startdusk/tiny-ui
- Owner: startdusk
- Created: 2023-08-16T13:19:06.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-23T13:28:33.000Z (almost 3 years ago)
- Last Synced: 2025-01-20T19:15:55.378Z (over 1 year ago)
- Language: SCSS
- Size: 1.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-cn.md
Awesome Lists containing this project
README
使用 storybook 构建组件库开发工具(辅助开发组件)
安装
```bash
$ sudo npm add -g storybook
```
初始化,在项目目录下
```bash
$ sb init
```
会在目录下生成一个 stories 目录,可以修改为你的组件名,只要里面有个文件叫 `组件名.stories.tsx` 就 ok
运行
```bash
$ yarn storybook
```
[CSS 转 SCSS 工具](https://www.cssportal.com/css-to-scss/)