graphql-nuxt-practice

GraphQL x Nuxt My Practice

Reference Page

https://github.com/takanorip/nuxt-graphql-sample

Build Setup

Get GitHub Token

  1. https://github.com/settings/tokens
  2. Create .env File(Add Key GITHUB_TOKEN)
  3. Load GITHU_TOKEN in nuxt.config.js.
    Reference Page: Nuxt.jsにおけるenvファイルの利用(初学者向けハンズオン)
# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout the Nuxt.js docs.