reflex-dev / reflex

🕸️ Web apps in pure Python 🐍
https://reflex.dev
Apache License 2.0
20.22k stars 1.16k forks source link

[REF-2535] Export don't generate the asset folder #2902

Open davibern opened 7 months ago

davibern commented 7 months ago

Describe the bug When the project is exported the asset folder is not generated and the images are located in the root of the directory.

To Reproduce Steps to reproduce the behavior: Simply create a new project, use the first template reflex creates and add an rx.image.

Expected behavior The export system create the asset folder and subfolders into assets and into them the media files the project needs.

Screenshots When i open the index.html the console shows that errors:

image

Specifics (please complete the following information):

From SyncLinear.com | REF-2535

davibern commented 7 months ago

I forgot to comment that i try to include the image in rx.image with and without "/". In develop mode in localhost with both methods i can see all images, but when I export the project the asset folders doesn't exists.