Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.04 KB

README.md

File metadata and controls

53 lines (33 loc) · 1.04 KB

Vue Koa2 isomorphism development boilerplate

This is a boilerplate for developing with both Vue.js and Koa2. Production ready!

使用Vue.js和Koa2同构开发的样板工程,已进行过生产环境验证!


Dev & Release

# install dependencies
npm install | yarn install

# start development with both ends hot-reload
npm start

# build both ends
npm run build | npm run build:debug

# compress the built project for deployment
npm run package

# lauch application on linux server
# cd YOURPROJECT/bin
./server.sh start testing | production

Functionalities

  • Frontend hot-reload without refreshing webpage manually.
  • Backend hot-reload without restarting NodeJs server.
  • Decorator design pattern for router and controller implementation.
  • RSA encrypt/decrypt has been implemented in both ends.
  • Writing codes with ES6/ES7 and compile both frontend and backend for release.
  • Pack the whole built project and external modules for deployment.

Why

TBD


Details

TBD