I'm using a library that requires me to load a full folder of static files. It takes in a URL like localhost:3000/static/folder/ and then it reads in all of those files in that folder (it will read localhost:3000/static/folder/index.html, etc).
What's the best way to do this with create-react-app? I can host this files somewhere else but I'd like to host them in the same app.
Oh, so today I learned this is what the public folder is for.
Just stick whatever folder you want loaded in the public folder.
Yep, that works! Glad you figured it out.
Most helpful comment
Oh, so today I learned this is what the public folder is for.
Just stick whatever folder you want loaded in the public folder.