My stunning Nuxt.js project
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn run dev
# build for production and launch server
$ yarn run build
$ yarn start
# generate static project(需先执行这个,才能部署到github-pages)
$ yarn run generate
# deploy static project
--$ yarn run deploy--
$ git subtree push --prefix=dist origin gh-pages
- Error: [vuex] Do not mutate vuex store state outside mutation handlers
/topic/:id
接口有缓存,造成读取的is_collect
为false