-
-
Notifications
You must be signed in to change notification settings - Fork 718
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
[Desktop] Asset inclusion not working #2345
Comments
I have the same issue when using it for a web project. I did find a workout, but its more of a hack tbh.:
Note that I get a rust-analyser error for the first line (file not found) but it compiles just fine with |
Also seeing this. The tailwind example doesn't work at all on desktop on the current version (0.5.1) but it does work on master when using
So possibly this issue has recently been fixed and we're just waiting for a release? |
Same problem here when serving on macOS. This looks like a macOS specific issue, as our project still works fine when building on linux |
According to examples, I add this line to App component, and solve the problem. |
I am having the same issue on Mac, but I can confirm that the include_str macro does work, per the comment above. |
Problem
Steps To Reproduce
Steps to reproduce the behavior:
dx new
... the CSS from main.css is not loaded at all.
Dioxus.toml
:no difference.
where it clearly adds the
/dist
part twice. the file does exist in the dist folder at the correct location on my disk, no idea whats wrong here. no idea whats wrong. No success with removing that error so far.Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Environment:
desktop
]Questionnaire
The text was updated successfully, but these errors were encountered: