L
L
lex2019-06-11 17:03:34
React
lex, 2019-06-11 17:03:34

How to collect all makeStyles jss in a react application into a separate file?

Good afternoon!
I'm trying the material ui react example and there all the styles are passed through jss right in the component file. I collect the project with webpack and after that these styles are lost.
How can I catch these styles and add them to css? And what am I doing wrong anyway? after all, in fact, I won’t be able to use material ui react if I assemble it separately. Maybe some loaders or config fix?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question