craco-graphql

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i craco-graphql

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

4.28 kB

Total Files

9

Last publish

Collaborators

  • dotamir