0.0.13 • Published 11 months ago

@maartenvn/nuxt-apollo v0.0.13

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Nuxt Apollo

npm version npm downloads License Nuxt

Nuxt 3 module for Vue Apollo GraphQL with Codegen support.

Quick Setup

  1. 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
  1. Add @maartenvn/nuxt-apollo to the modules section of nuxt.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