Giter VIP home page Giter VIP logo

Comments (4)

ealmloff avatar ealmloff commented on June 21, 2024

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

from dioxus.

qqke avatar qqke commented on June 21, 2024

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

from dioxus.

ealmloff avatar ealmloff commented on June 21, 2024

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

from dioxus.

qqke avatar qqke commented on June 21, 2024

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.

from dioxus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.