universal-vue / uvue

Vue CLI plugin to create universal Vue applications with ease
https://universal-vue.github.io/docs/
MIT License
127 stars 13 forks source link
cli docker pwa ssr universal vue

UVue

UVue

Build universal Vue applications with ease

npm version TravisCI CircleCI AppVeyor

Getting started

Install

vue add @uvue/ssr

This plugins add commands to run or build your application in SSR mode:

Start a development server with HMR

npm run ssr:serve

Build for production

npm run ssr:build

Start in production mode (need a npm run ssr:build before)

npm run ssr:start

Generate a static website

npm run ssr:static

Try to fix code to be SSR compatible

npm run ssr:fix

Try to fix Vuex states to be SSR compatible

npm run ssr:fix-vuex

License

MIT: see LICENSE file