Skip to content

集成vue-cli+element-ui+vue-router+vuex+axios的一个简单购物demo,由于接口受限,所以购物车存储的是本地cookie,结算状态是模拟的

Notifications You must be signed in to change notification settings

Dliling/VueShop

Repository files navigation

vue-demo

vue-demo

简介 集成vue-cli+element-ui+vue-router+vuex+axios的一个简单购物demo,由于接口受限,所以购物车存储的是本地cookie,结算状态是模拟的

Build Setup

安装依赖
# install dependencies
npm install

本地启动
# serve with hot reload at localhost:8080
npm run dev

打包
# build for production with minification
npm run build
执行命令之后,生成一个dist目录,需在服务器环境下浏览

参考资料
vue中文网 https://cn.vuejs.org/
element-ui官网 http://element-cn.eleme.io/#/zh-CN
vue-router官网 https://router.vuejs.org/
vuex官网 https://vuex.vuejs.org/
axios使用说明 https://www.kancloud.cn/yunye/axios/234845

About

集成vue-cli+element-ui+vue-router+vuex+axios的一个简单购物demo,由于接口受限,所以购物车存储的是本地cookie,结算状态是模拟的

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published