- Demonstration of Dioxus version 0.6
- Install the Dioxus Command Line Interface (CLI)
cargo install dioxus-cli
- To run it in your localhost browser
cd dioxus-demo/
dx serve --open
- To deploy using static site generation (SSG)
cd dioxus-demo/
rm -rf dist/
rm -rf static/
rm -rf target/dx/
dx build --release --ssg
mkdir dist/
cp -r target/dx/dioxus-demo/release/web/public/* dist/
cp -r static/* dist/
cd dist/
http-server -c-1 -o
- Initial release: 2024-04-07