'Module parse failed: Unexpected character '�' in an image with vuetify loader

I spent few hours on just trying to load a static image in my vuetify website. I have this following code in a v-toolbar:

<template class="d-flex align-center">
            <v-img
                :alt="appName"
                class="shrink mr-2"
                contain
                :src="require('./../static/images/logo64.jpg')"
                transition="scale-transition"
                width="40"
            />
</template>

And it doesn't wanna load it. I have sass, sass-loader, style-loader and vuetify-loader in my devDependencies in my package.json file, and all of my code is working fine with vuetify, vue and vuex besides that.

Here is the full error:

enter image description here

Did I forget to do something ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source