Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.44 KB

README.md

File metadata and controls

49 lines (38 loc) · 1.44 KB

tauri-dioxus

Dioxus integration with Tauri's wry template. Preconfigured with Tailwind CSS and DaisyUI.

Runs on mobile1, desktop and web.

Configuration

Tools needed:

npm install # or yarn, pnpm install, etc.
cargo mobile init
cargo run          # desktop
cargo android run  # Android
cargo apple run    # Apple
trunk serve        # web

Android

Original:

From my setup, I also need to add abiFilters += listOf("arm64-v8a") under create("arm") branch in :app's 'build.gradle.kts.

This is probably different from users env, so I didn't add to the script.

iOS

Original:

Must run Xcode on rosetta. Goto Application > Right Click Xcode > Get Info > Open in Rosetta.

If you are using M1, you will have to run cargo build --target x86_64-apple-ios instead of cargo apple build if you want to run in simulator.

Otherwise, it's all cargo apple run when running in actual device.

Footnotes

  1. Only tested on Android.