Git Product home page Git Product logo

vue-mintshop's Introduction

简介

1. 项目描述

  1. 此项目为一个前后端分离的外卖 Web App (SPA) 项目
  2. 使用了 Vue 全家桶+ES6+Webpack 等前端最新技术
  3. 包括商家, 商品, 购物车, 用户等多个功能子模块
  4. 采用模块化、组件化、工程化的模式开发

2. 你能从此项目中学到什么?

2.1 项目开发流程及开发方法

  1. 熟悉一个项目的开发流程
  2. 学会组件化、模块化、工程化的开发模式
  3. 掌握使用 vue-cli 脚手架初始化 Vue.js 项目
  4. 学会模拟 json 后端数据,实现前后端分离开发
  5. 学会 ES6+eslint 的开发方式
  6. 掌握一些项目优化技巧

2.2 Vue 插件或第三方库

  1. 学会使用 vue-router 开发单页应用
  2. 学会使用 axios/vue-resource 与后端进行数据交互
  3. 学会使用 vuex 管理应用组件状态
  4. 学会使用 better-scroll/vue-scroller 实现页面滑动效果
  5. 学会使用 mint-ui 组件库构建界面
  6. 学会使用 vue-lazyload 实现图片惰加载
  7. 学会使用 mockjs 模拟后台数据接口

3. API接口文档

项目API接口文档

4. 项目开发

完整项目开发流程说明文档

5. 运行项目

mintshop-client文件夹:

  1. npm install
  2. npm run dev

开启服务端程序之前要先安装mongdb,并且成功打开数据库连接

mintshop-server文件夹:

  1. npm install
  2. npm start

6. App演示截图

Msite首页 Profile个人页 login food

vue-mintshop's People

Contributors

mintnoii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue-mintshop's Issues

打包发布后Msite页面的图片资源无法显示

serve dist后打开5000端口,控制台报错:Failed to load resource: the server responded with a status of 404 (Not Found)
页面显示404 The requested path could not be found
想请教一下是什么原因?

后台应用

这个后台应用不知道怎么打开,可以请教下吗

server npm start 错误

TypeError: Class constructor CacheBase cannot be invoked without 'new'
at Snapdragon.Base (C:\Users\liupe\Desktop\Vue-MintShop\mintshop-server\node_modules\base\index.js:48:11)
at new Snapdragon (C:\Users\liupe\Desktop\Vue-MintShop\mintshop-server\node_modules\snapdragon\index.js:23:8)
at Object.utils.instantiate (C:\Users\liupe\Desktop\Vue-MintShop\mintshop-server\node_modules\micromatch\lib\utils.js:43:18)
at parse (C:\Users\liupe\Desktop\Vue-MintShop\mintshop-server\node_modules\micromatch\index.js:736:28)
at memoize (C:\Users\liupe\Desktop\Vue-MintShop\mintshop-server\node_modules\micromatch\index.js:859:13)
at Function.micromatch.parse (C:\Users\liupe\Desktop\Vue-MintShop\mintshop-server\node_modules\micromatch\index.js:745:10)
at create (C:\Users\liupe\Desktop\Vue-MintShop\mintshop-server\node_modules\micromatch\index.js:686:44)
at C:\Users\liupe\Desktop\Vue-MintShop\mintshop-server\node_modules\micromatch\index.js:695:16
at memoize (C:\Users\liupe\Desktop\Vue-MintShop\mintshop-server\node_modules\micromatch\index.js:859:13)
at Function.micromatch.create (C:\Users\liupe\Desktop\Vue-MintShop\mintshop-server\node_modules\micromatch\index.js:684:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: nodemon ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\liupe\AppData\Roaming\npm-cache_logs\2021-07-08T07_55_39_988Z-debug.log

跑不了

PS D:\vueProject\Vue-MintShop\mintshop-client> npm install
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npm.taobao.org/@babel/types/-/types-7.0.0-beta.44.tgz - [not_found] document not found
npm ERR! 404
npm ERR! 404 '@babel/types@https://registry.npm.taobao.org/@babel/types/-/types-7.0.0-beta.44.tgz' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR! D:\nodejs\node_cache_logs\2021-01-27T03_23_59_213Z-debug.log
PS D:\vueProject\Vue-MintShop\mintshop-client>

作者你好能请教一个问题吗

启动MongoDB怎么连接到这个项目的接口数据呀,就是启动服用应用npm start那里,我npm start一直报错,是不是我MongoDB不会连,没连上所以出错,谢谢啦

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.