Tiny bit boring. Sry. It shows roughly what I do, but that is actually more of a reminder for myself.
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start
# generate static project
$ npm run generate