xiao-component
v1.2.2
Published
xiao-oa components
Downloads
6
Readme
xiao-component
打包
- 运行yarn run lib
- 打的包是src/components/index.ts
小组件库设计原则
- 组件功能尽可能单一
- 复杂组件尽可能由单一功能组件复合而成
- 未完待补充
开发
- 在开发debug过程,有可能组件库代码更改没有被自动更新
- 运行lerna link 然后重启项目
Project setup
yarn install
Compiles and hot-reloads for development
yarn run serve
Compiles and minifies for production
yarn run build
Run your tests
yarn run test
Lints and fixes files
yarn run lint
Run your end-to-end tests
yarn run test:e2e
Run your unit tests
yarn run test:unit