Post

Here is the new nuxt-pglite, embedded within your server/client or fully tree-shaken dev-only tool of your production postgres I might be a bit slow with releases, but I test new DXs on my own skin first. It took me 4 months of redesigning, but I'm now pretty happy with results and we have docs!

nuxt-pglite.s94.devNuxt PGliteEmbedded Postgres for Nuxt. A PGlite instance for your server routes, a development socket for your Postgres tooling, and an in-browser database with live queries.

2 reposts11 likes

Pointing real Postgres tooling at a PGlite socket is a great trick. Do migrations run through the same path in dev and prod, or does the dev socket get its own runner?

I also expose the framework agnostic tooling for instanciation and config management, migration tooling, testing, as well as the socket implementation So if you are not using Nuxt you can still build your own implementation with the same DX

github.comRelease v0.4.0 · sandros94/nuxt-pglite⚠️ Breaking changes Extensions are imported in a config file, not named in nuxt.config. Full types follow your config. // before: nuxt.config.ts pglite: { server: { extensions: ['vector'] } } //...