RR
Denoβ€’3d agoβ€’
17 replies
R

Deno Fresh + @db/sqlite

howdy! I have a Deno Fresh project, using Vite. I'm using
node:sqlite
and it works extremely well πŸ₯³.

I tried to swap in
@db/sqlite
, even just for the backend endpoints, and I couldn't get it to work. Vite starts to look at the Deno DB driver, no matter what I tried, and it does not go well from there.

In this setup, with Fresh + Vite, it seems like some drivers in
@db/
generally are not supported. Is that correct? What would it take to support this?

I'm not looking for any in-depth support here. I'm fairly new to both Deno / Fresh / Vite, and I may just be missing something basic. I can give GitHub links + dive in more, if that helps. Thank you!
Was this page helpful?