I'm using Nuxt.js + Vuetify, but the images are not able to load in my next page files. For example, in my ./pages/browse/index.vue, I have a vuetify image tag like this:
<v-img src="~/assets/img/test.png" style="width:300px" contain ></v-img> The image is located at assets/img/test.png, however, whenever I started my Nuxt server, the image won't show up, below is the copied div element from Chrome dev tool:
<div class="v-image__image v-image__image--contain" style="background-image: url("http://localhost:3333/browse/~/assets/img/test.png"); background-position: center center;"></div> The image only works if I do not use Vuetify image component like this:
<img src="~/assets/img/test.png" style="width:300px" />