@wervt/nuxt
@wervt/nuxt
Nuxt module for apps hosted on wervt: each app runs in its own isolate with its own Postgres schema, Drizzle, and live data through Electric shapes.
npm create wervt@latest my-app
or add it to an existing Nuxt app:
export default defineNuxtConfig({
modules: ['@wervt/nuxt'],
})
useDb()(server): Drizzle on the app's own schema, with migrations fromdrizzle/.proxyShape()(server) anduseShape()(app): live rows from Postgres via Electric.useWervtUser(): the signed-in wervt user, on the server and in the app.useWervtAccess(event): invites on invite-only apps (wervt access <app> --invite), as the signed-in user.useValidatedBody()/useValidatedQuery()/useValidatedParams(): valibot validation.useWervtTrack(): custom events for wervt's cookieless analytics (page views are counted automatically).wervt: { feedback: { key } }anduseWervtFeedback(): the kontor feedback widget, reports go into a kontor project's triage.defineTool()(server): tools inserver/tools/that browser agents call through WebMCP, and MCP clients (Claude Code, Cursor, …) at/mcp, signed in through wervt's OAuth login.nuxt devstarts against the local wervt stack (Postgres, Electric) and a dev user, and runs thedb:seedtask (seedTable()inserts into empty tables) once on a new database.
Deploy with @wervt/cli: wervt deploy.
Docs: https://wervt.app
Related Packages
@nuxvel/nuxt
Nuxt module that gives a Nuxt app a production-ready backend: Postgres with Driz...
515
0
nuxt-postgrest
First-class PostgREST for Nuxt: typed clients, SSR-aware composables and auth-aw...
697
0
@xleddyl/nuxt-cms
Lightweight CMS that ships with your Nuxt app: runs on the Nitro server, content...
7,473
19
nuxt-mcp-dev
MCP server from your Nuxt dev server helping models to understand your Nuxt app...
97,799
911
Version History
| Version | Released | License |
|---|---|---|
| 0.3.2 | MIT | |
| 0.3.1 | MIT | |
| 0.3.0 | MIT | |
| 0.2.16 | MIT | |
| 0.2.15 | MIT | |
| 0.2.14 | MIT | |
| 0.2.13 | MIT | |
| 0.2.12 | MIT | |
| 0.2.11 | MIT | |
| 0.2.10 | MIT | |
| 0.2.9 | MIT | |
| 0.2.8 | MIT | |
| 0.2.7 | MIT | |
| 0.2.6 | MIT | |
| 0.2.5 | MIT | |
| 0.2.1 | MIT | |
| 0.2.0 | MIT | |
| 0.1.0 | MIT |
Pre-releases (1)
| Version | Released | License |
|---|---|---|
| 0.0.0-stage |