简单的 Vue2 + Webpack2 + Express + 热更新工程模板

阅读 3951
收藏 139
2016-09-20
原文链接:github.com

simple Vue2 + Webpack2 + HotModuleReplacement + Express template

# install dependencies
npm i

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# run app
npm start

  • build webpack config
  • client front end project
  • server back end project (router/view)
  • app.js app entry

The MIT License

评论