modules
modules copied to clipboard
Add `nuxt-graphql-codegen`
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.
Already tested it in the big project, works like a charm 🚀
@lewebsimple Thank you!
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/