Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tauri not work with dioxus #3452

Open
getong opened this issue Dec 25, 2024 · 0 comments
Open

tauri not work with dioxus #3452

getong opened this issue Dec 25, 2024 · 0 comments

Comments

@getong
Copy link

getong commented Dec 25, 2024

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 "create-tauri-app@4.5.9" 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
iShot_2024-12-25_16 54 22

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant