A simple Vue 2.0 Webpack & Server render for Develop.
This template just for Vue 2.0.
This is a project template for vue-cli.
$ npm install -g vue-cli
$ vue init edward32tnt/webpack-vue-ssr my-project
$ cd my-project
$ npm install
$ npm run start
-
npm run start
: Webpack +vue-loader
with proper config for source maps & hot-reload. -
npm run start:server
: Webpack +vue-server-renderer
for test server renderer -
npm run build
: build with HTML/CSS/JS minification.
For detailed explanation on how things work, consult the docs for vue-loader. Also check out the breaking changes in [email protected]. consult the docs for vue-server-renderer.