This is an adder for svelte-add
; you should read its README
before continuing here.
This adder's codename is tauri
, and can be used like so:
npx svelte-add@latest tauri
This adder supports SvelteKit and Vite-powered Svelte apps (all the environments svelte-add
currently supports).
This adder doesn't take any options of its own.
After the adder runs,
You can configure Tauri in the src-tauri/tauri.conf.json
file.
You can import from the "@tauri-apps/api"
package to access the backend.