AyanavaKarmakar / tauri-t3-app

Clean and simple starter repo using the T3 Stack in Tauri
https://ayanavakarmakar.github.io/tauri-t3-app
MIT License
83 stars 3 forks source link

SQLite/tRPC works in dev but not in prod enviroment #19

Open EvandroVV93 opened 1 year ago

EvandroVV93 commented 1 year ago

Hello!

First of all thanks for this amazing work!

In dev enviroment I cant make queries and mutate using a SQLite database, but when I compile the app my tRPC routes doesn't work. image

c2rlost2r commented 1 year ago

Yes, the same thing happens with PostgreSQL. I suppose it's because Tauri uses frontend libraries like React and in backend uses Rust. To use Prisma in Tauri, there is the prisma-client-rust library.

rom3N123 commented 11 months ago

has someone found a fix?