一个订单事例

有三种订单类型,vuex定义了3个modules,src/api是请求数据,安装后可改成对应的地址或写成死数据

中文文档

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, checkout the guide and docs for vue-loader.