0.0.2 • Published 8 months ago

@crbroughton/nuxt-convex v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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

  1. Add nuxt-convex to your nuxt.config.ts:
export default defineNuxtConfig({
  modules: ['@crbroughton/nuxt-convex'],
  runtimeConfig: {
    public: {
      convexUrl: process.env.CONVEX_URL
    }
  }
})
  1. Add your Convex URL to your .env file:
NUXT_PUBLIC_CONVEX_URL=your_convex_deployment_url_here

License

MIT License

0.0.2

8 months ago

0.0.1

8 months ago