Skip to content

Fall1ngStar/vite-plugin-graphql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-plugin-graphql

Similar to graphql-tag/loader, but for vite.

Installation

npm i vite-plugin-graphql
yarn add vite-plugin-graphql
pnpm i vite-plugin-graphql

Usage

const graphqlPlugin = require('vite-plugin-graphql');

const config = {
  plugins: [graphqlPlugin],
};

Now all the files ends with .gql or .graphql will be handled by vite-plugin-graphql.

About

a Vite plugin for loading GraphQL files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%