节点管理员lovego
一个Vue.js项目
构建设置
# 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 --re
管理员
一个Vue.js项目
构建设置
# 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
环境准备
vue-cli v4.2.3
Node.js v12.13.0
MongoDB v4.2.3
安装依赖
1. cd服务器进入服务文件夹
npm i
2. cd web进入web文件夹
npm i
3. cd admin进入admin文件夹
npm i
本地启动项目
1. cd服务器进入服务器文件夹
运行前,请确认是否已启动本地mongoDB数据库服务,默认地址:mongodb://127.0.0.1:27017 /
npm run serve
2. cd web进入web文件夹