Skip to content
Advertisement

Tag: vue.js

Display images with VueJS and Laravel

I am trying to display images with VueJS, but it either prints {{ activity.image }} or shows a compilation error. These are the attempts: How do I do it? Answer I assume activity.image is coming from the JavaScript, since you’re using the dot notation. You can use v-bind:src=”activity.image”, yes, without the mustache. or if it came from PHP, you should

Advertisement