/vue2-shop

A shop developed with Vue2 + Vue-router + Axios + Vuex + Node + Express + MongoDB + Webpack

Primary LanguageCSS

vue2-shop

A shop developed with Vue2 + Vue-router + Axios + Vuex + Node + Express + MongoDB + Webpack http://101.200.129.112:4000/#/goods

Run Setup

注意:先启动MongoDB

# cd server
# npm i (商城服务端依赖安装)
# node bin/www (启动服务端)

# cd .. (切到项目根目录)
# npm i (Vue项目依赖安装)
# npm start (Vue商城启动)

## Build Setup

``` bash
# project init(项目初始化)
vue init webpack vue-shop

# install dependencies(安装依赖)
npm install

# serve with hot reload at localhost:8080(试运行)
npm run dev

# build for production with minification(项目构建)
npm run build

# build for production and view the bundle analyzer report(打包分析报告)
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader. more info, contact with 2060884089@qq.com