statement
vue项目初始配置
多页面,pages 目录下存放各地址页面,modules 目录下存放各页面的模块
components 目录下存放公用组件
static 目录下的urlConstant.js存放接口路径,将接口路径定义到全局,方便build出来后可在该脚本中修改接口路径
Build Setup
# install dependenciesnpm install# serve with hot reload at localhost:8080npm run dev# build for production with minificationnpm run build# build for production and view the bundle analyzer reportnpm run build --report