For detailed explanation on how things work, checkout the Nuxt.js docs.
# install dependencies
$ yarn
# serve with hot reload at localhost:3000
# using mock api to develop
$ yarn mock
# using mock api to develop which doesn't need login
$ yarn mock:nologin
# using backend api to develop
$ yarn dev
# build for production
$ yarn build
when you npm i or yarn, prettier has already installed
the configuration file is .prettierrc
Pre-commit Hook use pretty-quick, maybe commit in terminal will be better, in IDE like webstorm it may get confused behaviorš