Skip to content

dev tips

development code tips

Nuxt – dynamic images paths from asset directory

Posted bymakeme October 3, 2019October 3, 2019

solution

<img :src="require(`~/assets/socialicons/${si.name}.svg`)" />
Posted bymakemeOctober 3, 2019October 3, 2019Posted insolvedTags: nuxt

Post navigation

Previous Post Previous post:
Nuxt – Buefy – mobile menu not working
Next Post Next post:
Nuxt – asyncData with multiple enpoints

Recent Posts

  • Gatsby React Waypoint stopped working
  • useful links
  • Nuxt generate crashing
  • Nuxt page and layout transitions
  • Customizing Beufy / Bulma in Nuxt

Recent Comments

  • A WordPress Commenter on Hello world!

Archives

  • May 2020
  • October 2019

Categories

  • gatsby
  • not solved
  • react
  • solved
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
dev tips, Proudly powered by WordPress.