0.0.2 • Published 8 months ago
@crbroughton/nuxt-convex v0.0.2
nuxt-convex
A Nuxt module for seamless integration with Convex.
Features
- 🔌 Zero-config Convex integration
- 🎯 Auto-imported composables
- 🔄 Type-safe mutations and queries
Installation
npm install @crbroughton/nuxt-convex
Setup
- Add
nuxt-convex
to yournuxt.config.ts
:
export default defineNuxtConfig({
modules: ['@crbroughton/nuxt-convex'],
runtimeConfig: {
public: {
convexUrl: process.env.CONVEX_URL
}
}
})
- Add your Convex URL to your
.env
file:
NUXT_PUBLIC_CONVEX_URL=your_convex_deployment_url_here
License
MIT License