Composable Apollo Client utilities for Vue 3 and Nuxt 4.
This monorepo contains the following packages:
- @vue3-apollo/core: Core composables for Vue 3 + Apollo Client
- @vue3-apollo/nuxt: Nuxt 4 module for seamless integration
- @vue3-apollo/docs: Documentation site
- Node.js >= 18.0.0
- pnpm 10.18.2
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Build specific packages
pnpm build:core
pnpm build:nuxt
pnpm build:docs
# Run documentation site
pnpm dev:docs
This project uses Changesets for version management and publishing.
When you make changes that should trigger a release:
pnpm changeset
This will prompt you to select packages and describe your changes.
To update package versions based on changesets:
pnpm version
To publish all packages:
pnpm release
The project uses GitHub Actions for automated releases:
- Create a changeset and commit it to your branch
- Push to
main
branch - GitHub Actions will create a "Version Packages" PR
- Review and merge the PR
- Packages will be automatically published to npm
Required GitHub Secrets:
NPM_TOKEN
: npm access token for publishing packages
MIT
Guen [email protected]