Vue JS Readdir
const result = require.context(
'@/<your dir!!>',
true,
/^.*\.<file type such jpg mp3>$/
)
console.log(result.keys())
Happy Hedgehog
const result = require.context(
'@/<your dir!!>',
true,
/^.*\.<file type such jpg mp3>$/
)
console.log(result.keys())