Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 352 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 352 Bytes

使用vue2 + koa2开发的一个全栈demo

  • 开发时,先npm start开启前端服务,再npm run server启动后端服务,通过访问前端服务的地址开发。

  • 部署时,npm run build生成dist文件夹,再npm run server启动后端服务,访问后端服务的地址,静态文件会自动获取前端生成的dist。