rochzp / vue-2.0-vue-router-2.0-vuex-2.0-

vue(2.0)+vue-router(2.0)+vuex(2.0)+webpack demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Setup

# 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.

About

vue(2.0)+vue-router(2.0)+vuex(2.0)+webpack demo


Languages

Language:JavaScript 48.3%Language:Vue 34.6%Language:CSS 15.5%Language:HTML 1.6%