Easily development cross-platform app with this Dioxus custom template.
- TailwindCSS Integration
npx tailwindcss -i ./input.css -o ./public/tailwind.css
- Install the Dioxus CLI
To get started with Dioxus, install the CLI using the following command:
cargo install dioxus-cli
Start the Dioxus development server with live reloading
by default, the Dioxus development server runs for the web platform
dx serve
run the development server for a different platform, specify the platform explicitly:
dx serve --platform desktop
- Build the project for production:
dx bundle --platform web
- Clean the project Remove all
target
dir:
dx clean
Before starting, ensure you have the following installed on your system:
- Dioxus: https://dioxuslabs.com
- Rust: https://www.rust-lang.org
- Nodejs: https://nodejs.org/en/download
- TailwindCSS: https://tailwindcss.com
- Tauri: https://tauri.app/start/prerequisites