Overview:
The Dioxus integration with Tauri’s Wry template is a preconfigured setup that includes Tailwind CSS and DaisyUI. It is designed to run on mobile, desktop, and web platforms. Some configuration and necessary tools are required to set up the integration.
Features:
- Preconfigured Setup: The integration comes with a preconfigured setup including Tailwind CSS and DaisyUI.
- Cross-platform Compatibility: The integration is designed to run on mobile, desktop, and web platforms.
- Flexible Configuration: Users can configure the integration according to their specific requirements.
Installation:
Install the following tools:
- Tauri-Mobile
- NPM package manager
- NPX
- Trunk
- wasm-bindgen-cli (for web)
- wasm-opt (for web)
- Necessary mobile frameworks (Xcode, Android Studio for Android)
Android Configuration:
- Add
abiFilters += listOf("arm64-v8a")under thecreate("arm")branch inapp/build.gradle.kts.
- Add
iOS Configuration:
- Run Xcode on Rosetta: Go to Application > Right Click Xcode > Get Info > Open in Rosetta.
- For M1 chip, run
cargo build --target x86_64-apple-iosinstead ofcargo apple buildfor simulator. - For actual device, use
cargo apple run.
Summary:
The Dioxus integration with Tauri’s Wry template is a useful setup for developers looking to create cross-platform applications. It provides a preconfigured setup with Tailwind CSS and DaisyUI, allowing for easy customization. The integration requires some configuration and the installation of necessary tools. Overall, it offers a flexible and efficient solution for multi-platform development.