Quantcast
Channel: Active questions tagged filereader - Stack Overflow
Viewing all articles
Browse latest Browse all 104

How do i get the names of a files in a folder in React js

$
0
0

I need to get a list of file names in a folder. The react project was created using vite.The needed file dir is src/data/(the json files which i need the name of).

I know that there is fs and list-react-files but they do not work.


Viewing all articles
Browse latest Browse all 104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>