I build a tauri app, but I have only used typescript to implement it, have not used the rust backend but the application still built a rust server, I think it will expense cpu and memory cost,is there any way to only build frontend of tauri, but without backend ?
Is there any way to only build frontend of Tauri, but without backend?
50 views Asked by Pining Doggie At
1
To build only the frontend part you'd want to run
npm run devand it will execute the underline command to run your frontend which most likely will callvitecommand.Thought it won't compile the binary application itself, since it depends on getting the rust backend compiled.
If you want to run just the frontend part with minimal backend, after the first rust compilation everything is cached, and it is still smaller than Electron and other similar solutions.