https://github.com/fe6/fecli-cpt-tpl-vue
Vue.js 组件脚手架 fecli 的模板
https://github.com/fe6/fecli-cpt-tpl-vue
vue vue-components vue-resource
Last synced: about 1 month ago
JSON representation
Vue.js 组件脚手架 fecli 的模板
- Host: GitHub
- URL: https://github.com/fe6/fecli-cpt-tpl-vue
- Owner: fe6
- Created: 2018-04-12T15:18:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-12T14:08:54.000Z (over 2 years ago)
- Last Synced: 2023-12-12T15:30:38.961Z (over 2 years ago)
- Topics: vue, vue-components, vue-resource
- Language: CSS
- Homepage:
- Size: 3.47 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 93
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fecli-cpt-tpl-vue
>Vue.js 组件脚手架 fecli 的模板
## 使用
```
$ npm start
$ npm run build
```
## 命令的功能
> 本项目的开发及打包工作流都集成到了 [@fe6/vcmd](https://www.npmjs.com/package/@fe6/vcmd) 中。
### npm start
- style
- 语法检测
- sass 转译 css
- ts
- 语法检测
- ts 转译
- html
- 渲染 vue
- 实时编译

### npm run build
- style
- 语法检测
- sass 转译 css
- 压缩
- postcss 低版本兼容
- js
- 语法检测
- ts 转译
- 打包
- 语法低版本兼容

## 开发须知
- 本项目已经配置 Travis (持续集成), 自动化到其他项目注意修改 `.travis.yml`
- 本项目已经配置 Codecov (单元测试报告上传), 自动化到其他项目注意修改 `.codecov.yml`
- 本项目已经打开 snyk (漏洞检测)