Skip to content

Vue & Koa2 isomorphism development boilerplate. With decorator design pattern and hot-reloading

License

Notifications You must be signed in to change notification settings

luventa/vue-koa-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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


About

Vue & Koa2 isomorphism development boilerplate. With decorator design pattern and hot-reloading

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published