Coder Social home page Coder Social logo

vue-shop-1's Introduction

Vue电子商城

实现功能:登录/注册、商品搜索、排序、购物车、收获地址管理、支付结算、订单生成

技术栈:vue-cli2 + vue2.0 + vue-router + vuex + axios + stylus + scss + node.js + es6 + express + mysql

文件说明:server文件夹为后端部分,其他文件为前端部分

运行:

1.安装依赖:

在命令行操作

vue:

cd vueMall-master(进入项目文件下)

npm install (安装依赖)

express:(进入项目文件下)

cd server

npm install(安装依赖)

2.本地开发,开启服务器,浏览器访问http://localhost:8081

手机和电脑连同一个局域网,手机浏览器输入http://电脑IP:8081即可在手机上访问

vue:

npm run dev

express:

node bin\www

3.构建生产

npm run build(生成dist文件夹)

注:第一次使用vue和express全局安装vue-cli和express

vue-cli

键入命令:npm install -g vue-cli

express

键入命令:npm i -g express-generator

vue-shop-1's People

Contributors

lxccc1207 avatar

Watchers

 avatar

Forkers

luya1991

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.