Open
Description
Description
A Nuxt module aimed to simplify the use of PGlite.
PGlite, an Embeddable Postgres Run a full Postgres database locally in WASM with reactivity and live sync.
It probides a series of composables, plugins and server utils to support PGlite both in the browser and on the server.
Key features:
- RLS support
- Web Workers by default in browser env
- Full type support for a better DX
Automatic extensions installation with support for things like:
live
: to subscribe reactively to a particular query.Sync
: to sync a subset of a remove Postgres database for offline-first implementations.vector
: for vector similarity searches
Repository
https://github.com/sandros94/nuxt-pglite
npm
https://www.npmjs.com/package/nuxt-pglite
Nuxt Compatibility
Nuxt 3