My splendid Nuxt.js project
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
# deploy GitHub Pages
$ yarn run generate:gh-pages
$ yarn run deploy
For detailed explanation on how things work, checkout Nuxt.js docs.