Static GitHub Issues

[322] Assets use

prev: Custom layouts dir
next: The client-side rendered virtual DOM tree is not matching server-rendered content

Hi. I'm using nuxt.js and I like it. But have an issue with adding images through <img v-bind:src="~assets/img/image-name.jpg"> I'm getting path to images from data array of objects. When I'm using /static <img v-bind:src="/img/image-name.jpg">it works fine. How can I use assets with data from objects? Can you please help me with this?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c272">#c272</a>)</em></sub></div>