#tauri 2.0 / vite & Tanstack
12 messages · Page 1 of 1 (latest)
Start needs a server to execute JS for server functions, api router and SSR, in Tauri there is the concept of a sidecars to run other processes beside the rust backend but I’ll be surprised if it was enough to run start or any other fullstack JS framework without horrendous developers experience.
Il short, you are better of using Tanstack router directly when using Tauri
yup, that's exactly what we're doing also... running vite, tanstack router and tauri. we are still using tauri 1 for a big engineering app.
what a nice way to build desktop apps.. if you're good with the rust, which i came to enjoy
As far as I know, SSR-enabled apps are not applicable in Tauri v2.0. Apps need to be SPAs. I deployed iOS and Android apps using TanStack Router in a React SPA wrapped by Tauri v2.0.
for you guys already using Tauri v2, do you know if there is any service provider offering build and publish to store functionality similar to EAS of Expo?
Btw, is it possible to setup Tanstack Start + Tauri v2 + IAP for android and iOS?
Im deciding on going for Capicator or Tauri
im following these docs for Tauri v2 + Vite but they are not compatable: https://v2.tauri.app/start/frontend/vite/
I guess tanstack router + tauri v2 should work without problems? You might have to wait until the Devinxi branch is merged and released, from that onwards I assume also Start will be compatible
Start requires a JS server to run so it not going to be compatible with Tauri, router works already