unopinionated, universal Vue.js app made simple
Server-side rendered Vue.js app should be made easy, since vue-router is well optimized for SSR, we built unvue on the top of it to make you build universal Vue.js app fast with fewer trade-offs, the only requirement is to export router instance in your entry file, which means you have full control of vue-router as well!
yarn add unvue
Add npm scripts:
"scripts":"build": "unvue build""start": "unvue start""dev": "unvue dev"
Then populate an
src/index.js in current working directory and it should export at least
// your vue router instancerouter
npm run dev to start development server.
To run in production server, run
npm run build && npm start
Dive into the documentation to get more.
unvue wouldn't exist if it wasn't for excellent prior art, we're inspired by these projects:
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature