Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
There are various ways to set up a web project that uses Svelte, Wasm, and Rust. For example, wasm-pack from the rust-wasm group provides a template for simple HTML-CSS-JS applications. There are also several project templates for React or Svelte with Rust and Wasm.
We will quickly add carbon-components-svelte using the minimum required steps, but you can check the library’s documentation for more detailed information and examples.
The plugin provides several options. Most importantly, for our project:
You can get the code for this project in my Github repository. Thank you for reading!
Related posts
- How to Use Rust Code in a JavaScript Worklet (Without wasm-pack)
- Examples of Rust + SvelteKit + WASM
- Planning the future of plotters
- Announcing Lingua 1.4: The most accurate natural language detection library for Rust - now with WASM support
- How do I configure SvelteKit to automatically rebuild another project?