I'm trying to display some images side by side in columns using this methodology:
<v-row> <v-col v-for="(n, i) in footerLogos" :key="i"> <v-img :src="`${n}`"></v-img> </v-col> </v-row> The array:
footerLogos: [ "@/assets/inc5000.jpg", "@/assets/inc-honor-roll.jpg", "@/assets/asa.jpg", "@/assets/soaringeagle.jpg", "@/assets/inahu.jpg", "@/assets/nahu-eagle.jpg", "@/assets/inc5000.jpg" ] To me this SHOULD work but it doesn't. What am I missing? Or is there a better/simpler way to do it? I've tried a few variations such as the paths being "@assets/...." versus "@/assets/..." but nothing seems to work. Surely I'm missing something simple. Please help! :)
I'm using Vue, Vuetify and Nuxt
:src="require('n')"should. There are enough resources for this approach in internet