Replies: 1 comment
-
Hi Chris, |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Frank,
I'm still relatively new to the Vue world and have encountered the following problem with the image loader.
When I call the method “getContentData(true);” on an asset PNG image I get the following error message.
warn unexpected data type. binary is expected for "../assets/vue/assets/eglass-filter.png"
After a longer search (🤷♂️) I found the following solution. If the path contains a URL, then I call the method “getContentData(true)” otherwise I return the path variable.
Workaround:
Is this still a problem for you or is this the solution if you want to work with asset and “normal” images ?
Chris
Beta Was this translation helpful? Give feedback.
All reactions