Skip to content

universal-vue/uvue

Repository files navigation

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