Dynamic images import with Quasar CLI (with vite) #14154
Answered
by
pdanpdan
phgrund
asked this question in
General - Components / Directives / etc
-
I'm currently migrating my project from webpack to vite, followed the official guide and everything seems to work just fine, except images with dynamic URLs, here are the two cases I have going on:
I tried to change to import(), but doesn't seem to work
It doesn't throw any errors, but no image is displayed (I tried moving to assets folder but no success) Any solutions? |
Beta Was this translation helpful? Give feedback.
Answered by
pdanpdan
Aug 8, 2022
Replies: 1 comment 1 reply
-
https://vitejs.dev/guide/features.html |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
phgrund
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://vitejs.dev/guide/features.html
Check glob import section