Follow challenges in React i took here, i decided to build the environnement on my own following those steps
- install Nodejs
- Launch cmd then type
npx create-react-app my-app-name
- then type npm start to launch the app.
I have create some components and practise successfully but things got messy when i noticed that my CSS code doesn’t work whenever i import them (import './style.css
).
I been searching on google, they been telling me a lot of stuff. they asked me to install many things with command prompt like css-loader and style-loader with this command: $ npm install css-loader style-loader --save-dev
and put some configurations in a file name webpack where i don’t find anywhere in my React app.
Can you help me find out what to do exactly?? If ever you can, i’ll greatly appreciate because i have been searching this for a while in the internet.