My pioneering Nuxt.js project
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn run dev
# build for staging -> static/robots.txt: Disallow: /
$ yarn run build:staging
# build for production -> static/robots.txt: Allow: /
$ yarn run build
# launch server
$ yarn start
# generate static project
$ yarn run generate
For detailed explanation on how things work, checkout Nuxt.js docs.