GitHub - Diizzayy/nuxt-graphql-client: ⚡️ Minimal GraphQL Client + Code Generation for Nuxt3
⚡️ Minimal GraphQL Client + Code Generation for Nuxt ⚡️ Minimal GraphQL Client + Code Generation for Nuxt yarn add nuxt-graphql-client npm install nuxt-graphql-client --save Add nuxt-graphql-client to the buildModules section of nuxt.config.ts Configuration Options Set runtime config GQL_HOST to the URL of your GraphQL API publicRuntimeConfig: { GQL_HOST: 'https://api.spacex.land/graphql' // SpaceX GraphQL API for example } Write your GraphQL Queries / Mutations.
https://github.com/diizzayy/nuxt-graphql-client