Basic template to have Svelte working in a Tauri project. There is still a lot that can be added, but the basics are here.
This example uses page as router.
Needs to have everything installed to be able to use Tauri on your machine: https://tauri.app/v1/guides/getting-started/prerequisites
Inside the project folder
npx degit MrAmericanMike/svelte-tauri
npm install
npm run tauri dev
PS: May be missing some Rust/Cargo installs? (Not tested yet)
Change Cargo.toml
and tauri.conf.json
files accordingly.
https://tauri.app/v1/guides/features/icons/