dioxus
dioxus copied to clipboard
tauri not work with dioxus
Problem
tauri + dioxus does not work, build a lot of time, hang
Steps To Reproduce
Steps to reproduce the behavior:
$ yarn create tauri-app
yarn create v1.22.22
[1/4] ๐ Resolving packages...
[2/4] ๐ Fetching packages...
[3/4] ๐ Linking dependencies...
[4/4] ๐จ Building fresh packages...
success Installed "[email protected]" with binaries:
- create-tauri-app
โ Project name ยท tauri-dioxus-example
โ Identifier ยท com.tauri-dioxus-example.app
โ Choose which language to use for your frontend ยท Rust - (cargo)
โ Choose your UI template ยท Dioxus - (https://dioxuslabs.com/)
Template created! To get started run:
cd tauri-dioxus-example
cargo tauri android init
cargo tauri ios init
For Desktop development, run:
cargo tauri dev
For Android development, run:
cargo tauri android dev
For iOS development, run:
cargo tauri ios dev
โจ Done in 16.79s.
$ cd tauri-dioxus-example
$ cargo tauri dev
I also post the code to https://github.com/getong/tauri-dioxus-example , you can clone and try it.
Expected behavior
tauri can load dioxus web page, not loading a lot of time
Screenshots
Environment:
- Dioxus version: 0.6.1
- Rust version: 1.85.0-nightly (bdc6b3de4 2024-12-23)
- OS info: MacOS
- App platform: web
Questionnaire
how to work with tauri and dioxus