Svelte-Tauri

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.


Prerequisites

Needs to have everything installed to be able to use Tauri on your machine: https://tauri.app/v1/guides/getting-started/prerequisites


Using this template

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)


NOTES:

Change Cargo.toml and tauri.conf.json files accordingly.


Icons:

https://tauri.app/v1/guides/features/icons/

TODO:

  • Be able to communicate with opened windows
  • More...

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes