To develop your Reveal Leptos project, running
trunk serve --port 3000 --open
will open your app in your default browser at http://localhost:3000
.
You can add the wasm
compilation target to rust using
rustup target add wasm32-unknown-unknown
To build a Reveal Leptos app for release, use the command
trunk build --release --dist release
This will output the files necessary to run your app into the release
folder; you can then use any static site host to serve these files.
For further information about hosting Leptos apps, please refer to the Leptos Book chapter on deployment available here.