1.0.2 • Published 6 years ago
xuhongboui v1.0.2
TUI
components
Build Setup
# 安装依赖
npm install/yarn
# 查看demo localhost:8080
npm run start/dev
# 生成组件库未压缩代码
npm run dist:dev
# 生成组件库生产环境
npm run dist:prod
# 编译打包scss->css
npm run dist:style
# 生成demo预览代码
npm run dist:demo
# gitlab CD
npm run dist
开发指南
. 目录结构
+-- _build //webpack配置文件
+-- _examples // demo演示地址,相当于一个vue项目
+-- _packages // 组件库文件夹
+-- _src // 组件库公共方法地址
+-- _theme // 样式库
1.0.2
6 years ago