DioxusLabs / dioxus

Fullstack GUI library for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
19.37k stars 747 forks source link

CLI does not collect assets #2090

Closed ealmloff closed 3 months ago

ealmloff commented 3 months ago

Problem

The CLI no longer collects assets correctly

Steps To Reproduce

Steps to reproduce the behavior:

Expected behavior

Assets should be copied and optimized when serving with the CLI.

Environment:

Questionnaire

jkelleyrtp commented 3 months ago

This works for me but it's temperamental. It depends on which dir you're serving from which is likely due to how magnanis is doing asset resolution.

Screenshot 2024-03-18 at 9 52 47 PM

We generally need to make magnanis more robust to paths.

ealmloff commented 3 months ago

Fixed by https://github.com/DioxusLabs/collect-assets/pull/12