enjoyor-vue-demo
v2.0.1
Published
vue项目初始化
Downloads
3
Readme
statement
vue项目初始配置
多页面,pages 目录下存放各地址页面,modules 目录下存放各页面的模块
components 目录下存放公用组件
static 目录下的urlConstant.js存放接口路径,将接口路径定义到全局,方便build出来后可在该脚本中修改接口路径
Build Setup
# 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