Answers for "vue js readdir"

0

vue js readdir

const result = require.context(
  '@/<your dir!!>',
  true,
  /^.*\.<file type such jpg mp3>$/
)
console.log(result.keys())
Posted by: Guest on September-20-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language