Skip to content

This is a login program based on vuejs and axios,for beginners

License

Notifications You must be signed in to change notification settings

jamesdanner/vue-login

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-login

这是一个基于 vue & axios & nodejs(express) & mongodb (mongoose) 的登录/注册demo,面向 vue 初学者,场景简单,但涵盖非常多的 vue 基本操作,且有较详细的注释,帮助大家快速上手 vue 相关操作。

项目所用技术相关信息您可以浏览我的博客,有专文介绍: vue-login 通过一个项目带你走进vue全栈开发

项目技术栈

  • 前台:vue & vue-router & vuex & vue-cli(webpack) & element-ui
  • 后台: nodejs (express) + mongodb
  • 前后台交互: axios
  • 单点登录: jsonwebtoken

Build Setup

# 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

# start server(后台启动)
node server.js

# start mongodb(启动数据库,确保安装mongodb)
mongod

About

This is a login program based on vuejs and axios,for beginners

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.1%
  • Vue 34.0%
  • HTML 0.9%