Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 970 Bytes

README.md

File metadata and controls

38 lines (23 loc) · 970 Bytes

Reveal Leptos

Developing your Reveal Leptos project

To develop your Reveal Leptos project, running

trunk serve --port 3000 --open

will open your app in your default browser at http://localhost:3000.

Adding Wasm

You can add the wasm compilation target to rust using

rustup target add wasm32-unknown-unknown

Deploying your Reveal Leptos project

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.