rust-vite-svelte

Rust Vite Svelte

A sample project using Rust and Vite+Svelte together.

A simple rust project that uses RustEmbed to package a Vite+Svelte project, which can serve as a template for starting a new rust + Svelte project.

To run it, first build the web project:

cd web
npm install
npm run build

Then run the rust project:

cd ..
cargo run

The web project will be served at http://localhost:3030/myapp.

Top categories

Loading Svelte Themes