0.0.1-beta1 • Published 6 years ago

sfui v0.0.1-beta1

Weekly downloads
3
License
MIT
Repository
-
Last release
6 years ago

sfui

移动端组件库-vue


文档开发

npm run dev

lib打包

npm run build

文档打包

npm run build:site

组件开发

1、 参考packages/DemoComponent进行组件开发

2、 在docs/doc.config.js中进行router配置

3、 npm run dev启动文档服务


组件测试

  1. 参考packages/DemoComponent/test进行组件测试用例编写, 规定组件必须含有test
  1. npm run test启动测试

注意!每次提交会执行测试,不通过不予以提交

文档部署

http://10.23.48.112:7778/webhook伺服master的pull&pr,更新代码,生成文档。 webhook的token为sf-ui

10.23.48.112 nginx端口8887,静态部署

http://fe.focus-test.cn/doc/sfui/反代http://10.23.48.112:8887/