Answer the question
In order to leave comments, you need to log in
How to properly include css library in React + Redux project?
I want to use the css style library in a React + Redux project .
Installed css Library in node_modules via
npm i materializecss-theme.
Answer the question
In order to leave comments, you need to log in
В свой index html
./node_modules/materializecss-theme/materialize.min.css
compass watch node_modules/materialize-theme
Используйте Ruby, sass and compass are required
.
But I do not agree with the answer Vladislav Polyakov . The .html file should only include the generated .js file. Everything else must be connected either to a specific component or inside app.js (if it is some kind of global library that applies to the entire project).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question