I can't get carousel working with images #17532
Unanswered
thepurpleblob
asked this question in
CLI - SSR mode
Replies: 2 comments
-
https://quasar.dev/quasar-cli-vite/handling-assets You either have to put asset path into template(with the ~ prefix) in order for the file to be detected and packaged during the build process, or you have to simply import the file, like you would a .js or vue template and then use it as computed/programmatic value to render. Otherwise the assets will not get compiled. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks - I wasn't aware of importing images. Found the docs and worked it out. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to upload images into either my assets directory or my public directory to work with a carousel. I've not found any way to do it that doesn't result in a 404 error. There are no examples of doing this in the documentation (all images are external and have full URLs). Is this possible, if so how?
Beta Was this translation helpful? Give feedback.
All reactions