sfui
v0.0.1-beta1
Published
sfui
Readme
sfui
移动端组件库-vue
文档开发
npm run devlib打包
npm run build文档打包
npm run build:site组件开发
1、 参考packages/DemoComponent进行组件开发
2、 在docs/doc.config.js中进行router配置
3、 npm run dev启动文档服务
组件测试
- 参考
packages/DemoComponent/test进行组件测试用例编写, 规定组件必须含有test
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/
