In ./rust
./rust
cargo build
In ./svelte
./svelte
npm i
npm run dev
Svelte code goes in ./svelte/src/App.svelte. Rust code goes in ./rust/src/lib.rs.
./svelte/src/App.svelte
./rust/src/lib.rs