Skip to content

CodeGather/vue2-koa2-mongodb

Repository files navigation

vue2-koa2-mongodb

vue2-koa2-mongodb搭建的博客

#搭建流程

#安装koa-generator
npm install -g koa-generator

#先创建一个文件夹然后进入文件夹并在当前文件夹下生成项目
koa2 .

#安装依赖
npm install

#安装进程守护
npm install -g pm2

#使用pm2开启服务
pm2 start ./bin/www

#报错信息解决办法
ChromeDriver installation failed Error with http(s) request: Error: read ETIMEDOUT

#再次执行后台服务搭建完成
npm install

前台页面搭建步骤

# 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

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

About

vue2-koa2-mongodb搭建的博客

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published