Skip to content

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

Notifications You must be signed in to change notification settings

zzhij/vue2-shop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 45.0%
  • Vue 22.3%
  • HTML 19.1%
  • JavaScript 13.6%