Comments (4)
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:
Can you provide more details about your setup:
- What options did you select in the
dx new
TUI - What version of rust, the dioxus CLI and dioxus did you use?
- 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:
from dioxus.
1.dx new desktop with tailwindcss
2.dx cli 0.5.0
3.show error like this
from dioxus.
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.
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)
- dioxus full stack hotreload fails with custom target dir HOT 1
- missing dependency at the dioxus guide HOT 1
- Desktop UI disappears when reloading HOT 1
- Remove unintentionally exposed features from the `dioxus` crate
- Fullstack Desktop CLI support
- Allow degrading Signal<T, SyncStorage> into Signal<T, UnsyncStorage>
- rust-analyzer completion and information doesn't work on server functions fullstack
- FMT tab issues and comment removal inside event handlers HOT 3
- Version mismatch dioxus-cli HOT 5
- Git version of dioxus fails to load collected assets using the Desktop template
- Liveview with `dx` failing HOT 1
- Cross-platform Project Documentation HOT 2
- New apps wo router using main, errors twice on load, every time HOT 1
- Component argument of `Option<Callback<(), bool>>` is unsupported in main, but `Option<EventHandler<()>>` works
- How to avoid topmost mode using dioxus?
- autofmt not respecting indent style for expressions HOT 2
- `use_request`: a `use_resource` alternative for manual trigger HOT 1
- Integrate a default tracing subscriber into launch
- snip line/col info from templates in release
- `cargo install dioxus-cli` should work - and use the binary versions unless specified otherwise
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dioxus.