I have set up my React application to import a stylesheet from the src
folder using import './css/styles.css'
at the top of App.js
.
In the public folder, I have created a basic /docs/index.html
file that is linked to from the React app but operates independently without any JavaScript.
Is there a way within the header of this HTML file to link to the same /css/styles.css
file located in the src
folder, ensuring it works seamlessly both during development and build stages? Or should I create a separate stylesheet file for this scenario?