how to show dynamic image from public folder #1784
sharifcse57
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When i try to run dynamic image tag source as :src="
/assets/flags/${item.code}.svg
"it works well in development mood. But when i build the app then it counts from :src="
app://./assets/flags/${item.code}.svg
" whic is not a valid source and image is not showing.Don't know how to show public image dynamically in vue file. Please help.
Beta Was this translation helpful? Give feedback.
All reactions