Skip to content

zhedream/blog

Repository files navigation

blog

My badass Nuxt.js project

Build Setup

# 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, check out Nuxt.js docs.

引入 apollo

@nuxtjs/apollo机票

npm install --save @nuxtjs/apollo

npm install --save graphql-tag

添加配置 nuxt.config.js

引入 mavonEditor

mavonEditor机票

npm install mavon-editor --save

部署

https://www.jianshu.com/p/413e2a5f30b2 npm run pm2 start npm --name blog -- start pm2 start npm run start --name=blog

Releases

No releases published

Packages

No packages published