3 ms·
Right, by reactjs they likely mean create-react-app. Idk how much opinionated it is, but css imports should work out of box there. So a better answer for a beg
by wruza 4y ago
Right, by reactjs they likely mean create-react-app. Idk how much opinionated it is, but css imports should work out of box there.
So a better answer for a beginner must be on https://create-react-app.dev/docs/adding-a-css-modules-stylesheet/ https://create-react-app.dev/docs/adding-a-css-modules-style... side. What I’ve learned about teaching is that if you show one way, they’ll move forward and figure out the others eventually. If you show many ways, they either get stuck in which-way anxiety or choose something incompatible or too advanced for their lessons material.
That said, OP, stackoverflow is a better format for questions like these. You can easily find the answer by either searching or by starting typing your question. I find their similar-questions algorithm pretty good at detecting “not even posted yet” duplicates.