a interesting Vue project template
# install dependencies
npm i
npm install supervisor -g
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# run app
npm start
getEntries( webpackHotMiddlewareConfig, // String webpackHotMiddlewareConfig, exceptList, // Array except some dir in client isServer // Boolean )
const getEntries = require('./getEntries')
const webpackHotMiddlewareConfig = 'webpack-hot-middleware/client?path=/__webpack_hmr&timeout=20000'
const developmentConf = merge(baseConfig, {
...
entry: getEntries(webpackHotMiddlewareConfig, [], false)
...
})