Vue.js 组件库模板
- 提炼自企业级中后台产品的交互语言和视觉风格。
- 开箱即用的高质量 Vue.js 组件。
- 全链路开发和设计工具体系。
- 按需加载系统。
- node.js >= 9.0.0
- npm >= 5.0.0
# 安装依赖( package.json 中的 dependencies 部分 ) dependencies
npm install
# development 环境的本地热加载服务,访问地址: localhost:8080
# 在 config 中修改端口号
npm start
# 利用 jest 单元测试
npm test
# 打包组件库
npm run build
# 打包官网
npm run build:site
# 打包官网,打包并查看捆绑分析器报表
npm run build --report
# JavaScript 的代码规范监测
npm run eslint
# style 的代码规范监测
npm run stylelint
# 进行 style 和 JavaScript 的规范检测
npm run lint-staged
# 上传单元测试覆盖率报告
npm run codecov
本仓库是用脚手架 fecli,结合 component-template 模板生成的。