Skip to content

list of files (images) in public folder #10349

Discussion options

You must be logged in to vote

@edesideri You can do it at build time. Check out how QCalendar gets a file list from the "examples" folder so it can be used dynamically.
https://github.com/quasarframework/quasar-ui-qcalendar/blob/next/docs/src/assets/examples.js

Then it's imported here and used: https://github.com/quasarframework/quasar-ui-qcalendar/blob/next/docs/src/router/routes.js#L2

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@edesideri
Comment options

@pdanpdan
Comment options

Comment options

You must be logged in to vote
2 replies
@edesideri
Comment options

@s-light
Comment options

Answer selected by edesideri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants