Skip to content

Dioxus integration with Tauri on most major platforms

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
Unknown
LICENSE-MIT
Notifications You must be signed in to change notification settings

Desdaemon/tauri-dioxus

Repository files navigation

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.

About

Dioxus integration with Tauri on most major platforms

Topics

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
Unknown
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published