-
Notifications
You must be signed in to change notification settings - Fork 1
docs: add guide for advanced Nuxt Apollo integration #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Introduced a new "Custom Apollo Integration for Nuxt" guide with steps for runtime customization. - Updated sidebar navigation to include the new guide under advanced topics.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a comprehensive guide for advanced Apollo Client integration in Nuxt, explaining when and how to use plugins for runtime customizations that go beyond basic module configuration.
- Adds new documentation page explaining module vs. plugin architecture for Apollo customization
- Links the main Nuxt integration page to the advanced guide
- Updates navigation to include the new advanced integration page
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/docs/advance/nuxt-custom-integration.md | New comprehensive guide explaining plugin-based Apollo customization for runtime needs |
| packages/docs/nuxt/index.md | Adds tip linking to the advanced customization guide |
| packages/docs/.vitepress/config.ts | Adds navigation entry for new advanced integration page |
| package.json | Minor whitespace change in lint script |
| .changeset/purple-games-sleep.md | Changeset entry documenting the documentation addition |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| }) | ||
|
|
||
|
|
||
| const cache = client.cache as InMemoryCache |
Copilot
AI
Oct 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'possibleTypes' variable is used but never defined or imported in the code example. This will confuse readers trying to implement the solution. Consider adding an import statement or a comment explaining where this comes from.
| const cache = client.cache as InMemoryCache | |
| const cache = client.cache as InMemoryCache | |
| // possibleTypes should be imported from your generated fragment types file | |
| // e.g., import possibleTypes from '~/generated/possibleTypes' |
| "dev:nuxt": "pnpm --filter @vue3-apollo/nuxt run dev", | ||
| "dev:web": "pnpm --filter @vue3-apollo/web run dev", | ||
| "lint": "eslint .", | ||
| "lint": "eslint .", |
Copilot
AI
Oct 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra whitespace added between 'eslint' and '.'. This appears to be an unintentional change and should be reverted to maintain consistency.
| "lint": "eslint .", | |
| "lint": "eslint .", |
No description provided.