dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

Desktop quickstart demo cannot show in macos

Open qqke opened this issue 1 year ago • 3 comments

Can not show any elements on my macos wih [email protected]

qqke avatar Apr 01 '24 01:04 qqke

Following the getting started guide on macOS results in this application on my M2 mac with the 0.5.0 version of both dioxus and the dioxus cli. I choose default CSS styling, no router, and the desktop platform: Screenshot 2024-04-01 at 8 26 41 AM

Can you provide more details about your setup:

  1. What options did you select in the dx new TUI
  2. What version of rust, the dioxus CLI and dioxus did you use?
  3. Do you see any errors in your terminal or browser console? You can access the browser console by right clicking and clicking inspect element which should show you a screen like this: Screenshot 2024-04-01 at 8 29 22 AM

ealmloff avatar Apr 01 '24 13:04 ealmloff

1.dx new desktop with tailwindcss 2.dx cli 0.5.0 3.show error like this 截屏2024-04-04 21 41 38

qqke avatar Apr 04 '24 12:04 qqke

I cannot reproduce it with that setup on macOS with the 0.5.0 version of the CLI. It might be an error that is specific to the version or your webview. If you are interested in debugging this issue, more information about the syntax error in your console would be useful. We might be compiling to a newer version of javascript for the interpreter than what your browser supports

ealmloff avatar Apr 04 '24 16:04 ealmloff

It is possible that my outdated macOS Catalina 10.15.7 installation was causing the issue. After switching to Windows 11, the problem no longer occurs.

qqke avatar Apr 13 '24 02:04 qqke