# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
注意:
第一次会出现
Are you interested in participation? 建议 选择 no
如果出现: Error: getaddrinfo ENOTFOUND localhost
请配置hosts: 127.0.0.1 localhost
$ 本地api 服务: node server/api.js 登陆账户: test/123456
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
For detailed explanation on how things work, check out Nuxt.js docs.