Next Plugin Mini GraphQL
Provides Next.js support for .graphql
files using graphql-mini-transforms
.
Installation
npm install next-plugin-mini-graphql # if using npm yarn add next-plugin-graphql # if using yarn
Usage
Create a next.config.js
in your project
// next.config.js const withGraphql = ; moduleexports = ;
Optionally you can add your custom Next.js configuration as parameter
// next.config.js const withGraphql = ; moduleexports = ;