0.0.1 • Published 11 months ago

craco-graphql v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

craco-graphql

A craco plugin to load .graphql query documents into your create-react-app application.

Installation

Run the following command to install craco-graphql in your project:

npm install --save-dev craco-graphql @craco/craco

OR

yarn add --dev craco-graphql @craco/craco

Usage

Add this configuration to your craco.config.js configuration file:

// craco.config.js
const CracoGraphQLPlugin = require('craco-graphql');

module.exports = {
	plugins: [{ plugin: CracoGraphQLPlugin }],
};

License

The MIT license