GraphQL-Nuxt JS
A sample Nuxt App (Vue) to consume GraphQL API
API details
The API repo bellow; laravel-graphql
Implemented
- Login
- Register
- Profile Picture
- List
Build Setup
# install dependencies
$ npm install
# copy .env and add necessary config
$ cp .env.example .env
# 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.