# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run prod
- 程序入口(
src/main.js
) - 后台api代理(
src/proxy.js
) - 构建目录的配置(
src/build.js
) - 数据请求方法(
src/http.js
) - 路由配置(
src/router.js
) - 开发和线上服务地址配置(
src/config.js
)
For detailed explanation on how things work, checkout the guide and docs for vue-loader.