How to build many React apps from the same config files?

So I have a React app, and for my purposes I want to make various React apps but they need to share the same configs – the same modules, the same config files (such as tailwind.config.cjs). How can I setup my environment so it becomes possible?

I will actually manually move each build to other folders on a Django app. I really only need React to build some complex UI that would be a pain with Vanilla JS.

I don’t really feel like having to copy all my React app and then having a different stance of it with the same configs for each page I want to build, even though this would work, my codebase would grow too much and if I had to change a config (like a theme for tailwind for example) I would need to change it on every project.

So basically I want a React setup that imports all those configs from a parent directory, for example.