I am unable to import css files ,I am learning webpack and practicing examples , to use css-loaders, style-loader not able to import css files?
First you install the css-loader from github.com/webpack-contrib/css-loader
npm install --save-dev css-loader
then :
import 'path/fileName.css';
Can you paste the code for the file you're trying to import the css file into?
If your css file is in the same directory, and named App.css, and import would look like this.
import './App.css';
Hey Siluveru Kiran Kumar can you pour in some more context. What exactly are you facing issues with. Follow the instructions here github.com/webpack-contrib/css-loader . If you did and couldnt go through let us know the errors you had
Siluveru Kiran Kumar
Learning
I have imported them... but not working with .scss files