In Vue, when I used require, I got the file with no problem, but when I use require in nuxt, it gets a line that starts with '/_nuxt/file_name.extension. How do I use it correctly?
mounted() {
// Возвращает: Module {default: '/_nuxt/...', __esModule: true, Symbol(Symbol.toStringTag): 'Module'}
console.log(require(`@/uploads/${this.song.file}`));
},