Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

vue js readdir

const result = require.context(
  '@/<your dir!!>',
  true,
  /^.*.<file type such jpg mp3>$/
)
console.log(result.keys())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #vue #js #readdir
ADD COMMENT
Topic
Name
7+7 =