My premium Nuxt.js project
- nuxt 项目设置缩进为4个空格:https://segmentfault.com/a/1190000019230150#articleHeader1
# install dependencies
$ npm run 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
For detailed explanation on how things work, checkout Nuxt.js docs.