https://github.com/sayll/vue-start
a vue.js start.
https://github.com/sayll/vue-start
vue webpack
Last synced: 12 months ago
JSON representation
a vue.js start.
- Host: GitHub
- URL: https://github.com/sayll/vue-start
- Owner: sayll
- License: mit
- Created: 2017-05-20T13:51:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-14T06:03:21.000Z (about 9 years ago)
- Last Synced: 2025-04-04T12:51:12.084Z (about 1 year ago)
- Topics: vue, webpack
- Language: JavaScript
- Size: 269 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-start
> A Vue.js Start
> - 适用于单页与多页应用.
----
ie9+ 用户请转至:[avalon-webpack-start](https://github.com/sayll/avalon-webpack-start)
React 用户请转至:[react-webpack-start](https://github.com/sayll/react-webpack-start)
低版本IE 用户请转至:[ie-webpack-start](https://github.com/sayll/ie-webpack-start)
## Build Setup
``` bash
$ npm install # Install project dependencies
$ npm start # open server
$ npm run deploy # Compile and launch
```
## Script Explain
|`npm run `|解释|
|------------------|-----------|
|`start`|第一次运行启用。生成DLL文件,服务启动在3000端口。|
|`dev`|与`npm start`类似相同,只有当DLL文件存在时可用,加快开发速度。|
|`build`|同`dev`在DLL文件存在时,加快打包速度。|
|`deploy`|发布:清空目录>生成生产环境的Dll>eslint检测>单元测试>打包|
|`dll:dev`|生成开发环境的DLL文件。|
|`dll:build`|生成生产环境的DLL文件。|
|`test`|开启Karma测试并生成覆盖率报告。|
|`report`|打包资源分析|
|`clean`|清除打包的文件|
|`cnpm`|安装淘宝镜像|