# vue-cli-template **Repository Path**: sevencm/vue-cli-template ## Basic Information - **Project Name**: vue-cli-template - **Description**: 修改vue-cli的一些配置;方便日后开发SPA应用 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-08-04 - **Last Updated**: 2021-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-cli-template > 将vue-cli修改为自己常用的配置,方便日后开发使用。 ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). 增加5+App获取设备信息的样例: ![输入图片说明](https://images.gitee.com/uploads/images/2018/0808/224133_edbf92dc_531391.jpeg "S80808-22133252.jpg") ![输入图片说明](https://images.gitee.com/uploads/images/2018/0808/224149_ba75e6fe_531391.jpeg "S80808-221339.jpg")