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

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

Open
davibern opened this issue Mar 22, 2024 · 1 comment
Open

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

davibern opened this issue Mar 22, 2024 · 1 comment
Labels
enhancement Anything you want improved feature request A feature you wanted added to reflex hacktoberfest linear Created by Linear-GitHub Sync Reflex > Open source core OSS Created by Linear-GitHub Sync

Comments

@davibern
Copy link

davibern commented Mar 22, 2024

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):

  • Python Version: 3.11 and 3.12
  • Reflex Version: 0.4.1 to 0.4.5
  • OS: Window 11
  • Browser (Optional): Edge and Chrome

From SyncLinear.com | REF-2535

@davibern
Copy link
Author

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.

@picklelo picklelo added the enhancement Anything you want improved label Apr 2, 2024
@picklelo picklelo added the linear Created by Linear-GitHub Sync label Apr 9, 2024
@picklelo picklelo changed the title Export don't generate the asset folder [REF-2535] Export don't generate the asset folder Apr 9, 2024
@picklelo picklelo added the feature request A feature you wanted added to reflex label Aug 2, 2024
@picklelo picklelo added this to the Open Source Bugs milestone Aug 27, 2024
@picklelo picklelo added the Reflex > Open source core OSS Created by Linear-GitHub Sync label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Anything you want improved feature request A feature you wanted added to reflex hacktoberfest linear Created by Linear-GitHub Sync Reflex > Open source core OSS Created by Linear-GitHub Sync
Projects
None yet
Development

No branches or pull requests

3 participants