modules icon indicating copy to clipboard operation
modules copied to clipboard

Add `nuxt-graphql-codegen`

Open lewebsimple opened this issue 3 years ago • 2 comments

Hello Nuxt people,

I made a simple Nuxt 2/3 module for GraphQL Code Generator using the latest module starter template 🚀.

From the README:

This module loads your @graphql-codegen/cli configuration and runs the code generation before each build. It will also watch for changes in your schema and/or documents in development mode.

The repository is right here: https://github.com/lewebsimple/nuxt-graphql-codegen

I also don't mind transferring the project to nuxt-community.

lewebsimple avatar Feb 23 '22 03:02 lewebsimple

Already tested it in the big project, works like a charm 🚀

@lewebsimple Thank you!

enkot avatar Apr 21 '22 07:04 enkot

Great news everyone!

I just released a new version based on the latest module author guide, which is way cleaner.

The module now has a nice README and I also added watching for .graphql and .gql file changes :zap:

Check it out here: https://github.com/lewebsimple/nuxt-graphql-codegen

I think it could be mature enough to be included in https://modules.nuxtjs.org/

lewebsimple avatar May 07 '22 01:05 lewebsimple