Leptos
Leptos is a Rust based web framework. You can read more about Leptos on their official website. This guide is accurate as of Leptos version 0.6.
Checklist
- Use SSG, Tauri doesn’t officially support server based solutions.
- Use
serve.ws_protocol = "ws"
so that the hot-reload websocket can connect properly for mobile development. - Enable
withGlobalTauri
to ensure that Tauri APIs are available in thewindow.__TAURI__
variable and can be imported usingwasm-bindgen
.
Example Configuration
© 2024 Tauri Contributors. CC-BY / MIT