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

[bug] Missing style after packaging #12452

Closed
oyeaono opened this issue Jan 20, 2025 · 5 comments
Closed

[bug] Missing style after packaging #12452

oyeaono opened this issue Jan 20, 2025 · 5 comments
Labels
status: needs triage This issue needs to triage, applied to new issues status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes type: bug

Comments

@oyeaono
Copy link

oyeaono commented Jan 20, 2025

Describe the bug

Use the official cli cargo create-tauri-app + dioxus template。
Running the command cargo taui build reports an error
Error Unable to find your web assets, did you forget to build your web app? Your frontendDist is set to "../dist"

After modifying the configuration "frontendDist": "../target/dx/tauri-dx-ui/release/windows/app" the package running program style is lost

Reproduction

No response

Expected behavior

No response

Full tauri info output

Error Unable to find your web assets, did you forget to build your web app? Your frontendDist is set to "../dist"

Stack trace


Additional context

No response

@oyeaono oyeaono added status: needs triage This issue needs to triage, applied to new issues type: bug labels Jan 20, 2025
@oyeaono
Copy link
Author

oyeaono commented Jan 20, 2025

Running the program shows "asset not found: index.html" and no style

@oyeaono
Copy link
Author

oyeaono commented Jan 20, 2025

Image

@oyeaono
Copy link
Author

oyeaono commented Jan 20, 2025

After packaging, there is no dist folder in the root directory

1 similar comment
@oyeaono
Copy link
Author

oyeaono commented Jan 20, 2025

After packaging, there is no dist folder in the root directory

@FabianLars FabianLars added the status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes label Jan 20, 2025
@FabianLars
Copy link
Member

Seems to be a regression in dioxus: DioxusLabs/dioxus#3328 - fixed in DioxusLabs/dioxus#3572 so once they release 0.6.2 the template should work again.

After modifying the configuration "frontendDist": "../target/dx/tauri-dx-ui/release/windows/app" the package running program style is lost

This is the wrong path, no? It should be "frontendDist": "../target/dx/tauri-dx-ui/release/web/public" - the dioxus cli should tell you about it:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes type: bug
Projects
None yet
Development

No branches or pull requests

2 participants