graphql-yoga icon indicating copy to clipboard operation
graphql-yoga copied to clipboard

docs: add integration guide for GraphQL Yoga with Nuxt 4

Open productdevbook opened this issue 1 year ago • 4 comments

This pull request introduces a comprehensive guide on integrating GraphQL Yoga with Nuxt 4. The guide includes detailed instructions on installation, server setup, usage, and advanced configuration options.

productdevbook avatar Feb 28 '25 04:02 productdevbook

⚠️ No Changeset found

Latest commit: 6f87ea89ea39bf1585756979dbe1cf5e59f9ce18

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Feb 28 '25 04:02 changeset-bot[bot]

Thanks for the docs! Do you think we can create integration tests with an example in the repo like we do for other integrations?

ardatan avatar Feb 28 '25 11:02 ardatan

Where exactly are these tests ?

productdevbook avatar Feb 28 '25 11:02 productdevbook

Here we have examples for different integrations, Next.js, Fastify etc, and each of them have integration tests in the same folder. https://github.com/dotansimha/graphql-yoga/tree/main/examples

ardatan avatar Feb 28 '25 11:02 ardatan

https://github.com/productdevbook/nitro-graphql

It integrates much better into the system if they set this up for Nuxt or Nitro. If there is a way to add this to the documents, I strongly recommend adding it separately for both nuxt and nitro.

productdevbook avatar Nov 05 '25 05:11 productdevbook

Additionally, vite beta support is also available.

https://github.com/productdevbook/vite-nitro-graphql

Rolldown: https://github.com/productdevbook/vite-nitro-graphql/tree/rolldown

productdevbook avatar Nov 05 '25 05:11 productdevbook