Module version
@nuxtjs/[email protected]
[email protected]
Describe the bug
Using "~url" syntax to access an image within assets folder doesn't work inside v-img component.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The image should be displayed
Screenshots
Current Code

Code Output

Additional context
NA
Hi @jimb0dii Try like this
<v-img :src="require('~/assets/images/background-1.jpg')" />
Hi @jimb0dii Try like this
<v-img :src="require('~/assets/images/background-1.jpg')" />
Thanks it works.
@jimb0dii please close the issue if it's work's fine. 馃檪
Most helpful comment
Hi @jimb0dii Try like this
<v-img :src="require('~/assets/images/background-1.jpg')" />