@maartenvn/nuxt-apollo
v0.0.13
Published
Nuxt 3 module for Vue Apollo GraphQL.
Downloads
3
Readme
Nuxt Apollo
Nuxt 3 module for Vue Apollo GraphQL with Codegen support.
Quick Setup
- Add
@maartenvn/nuxt-apollo
dependency to your project
# Using pnpm
pnpm add -D @maartenvn/nuxt-apollo
# Using yarn
yarn add --dev @maartenvn/nuxt-apollo
# Using npm
npm install --save-dev @maartenvn/nuxt-apollo
- Add
@maartenvn/nuxt-apollo
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: ["@maartenvn/nuxt-apollo"],
});
That's it! You can now use Nuxt Apollo in your Nuxt app ✨
Development
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release