Skip to content
Advertisement

Tag: filepath

Vue.js assets file path when using v-for

I’ve just started using Vue.js, it’s simple enough accessing the assets folder when loading a static img such as my logo: however, I’m using v-for to create several list items using sample data, this is my template: and this is the sample data declared within the same .vue file: My problem is that the imgs all 404 which seems weird

Advertisement