Realtime Convex helpers for Vue 3 and Nuxt.
This repo ships two packages that share the same core runtime:
nuxt-convexfor Nuxt apps that want module setup, auto-imports,#convex/*aliases, storage scaffolding, and Nuxt-side integrationsvue-convexfor standalone Vue 3 apps that want direct plugin setup and full control over runtime wiring
- Read the docs site: nuxt-convex.onmax.me
- Start with Getting started if you are choosing between the Nuxt and Vue tracks
- Open the Nuxt track if you are building a Nuxt app
- Open the Vue track if you are building a standalone Vue 3 app
Use this package when your app runs on Nuxt and you want the framework layer handled for you.
It adds:
- module registration through
modules: ['nuxt-convex'] - auto-imports for the shared composables
#convex,#convex/api,#convex/advanced, and optional#convex/storage- Nuxt-side file storage scaffolding
- Nuxt-side Better Auth and Cloudflare R2 integration points
Use this package when you want to install the Vue plugin directly in a Vue 3 app.
It gives you:
- the base
convexVueplugin - shared query, mutation, action, pagination, auth, and connection-state composables
- optional
advancedandstorageentrypoints - explicit runtime control through the controller APIs
packages/nuxtpublishesnuxt-convexpackages/vuepublishesvue-convexdocscontains the public documentation siteplaygroundis the Nuxt reference app used to exercise the moduleexamples/vueis the standalone Vue example
pnpm install
pnpm docs:devUseful workspace commands:
pnpm devruns the Nuxt playground through the module packagepnpm dev:vueruns the standalone Vue examplepnpm testruns the package test suitespnpm docs:buildbuilds the docs site
MIT