I built a small react app, with just a few components. What i need to do is unite it with a simple website that has html/css and only 1 js file. The html/css files are quite huge, so turning everything manually into JSX and route them, is not an option.
For the React app, i used react-create-app. Am I missing a simple solution here? Like maybe use React Router somehow?
I haven't done anything similar before, but everything I get on the internet involve quite complicated solutions, including to manually configure webpack, babel, and other tools which in my experience is not a good thing to do.
I have tried the official
https://reactjs.org/docs/add-react-to-a-website.html solution, but the explanation there is way too uninvolved.
It also includes using script in the HTML for getting the react and react-dom, with the src attribute to unpkg.com (a global content delivery network for everything on npm). But they have material-ui, that I have used in the React app, only for a very old version.