Vue CLI 4 project configured to support SSR.
I highly recommend to use yarn
instead of npm
because npm
is not reliable for resolving package-lock.json
, sometimes it just doesn't respect the lock file.
If you don't have yarn
installed, using npm
should still be ok though.
yarn # or `npm install`
yarn serve # or `npm run serve`
yarn build # or `npm run build`
yarn start # or `npm start`