For a more up-to-date and complete SSR example with vue-router and vuex integration, check out vue-hackernews-2.0.
Demo for Vue 2.0 server-side rendering. Live link
- Required: Node 4+
- Recommended: Node 6+
npm install
npm run build
npm start
Although this demo uses JSX, it also works with vue-loader
. It doesn't actually matter how you build your application bundle.
For how things work, check out the docs.