Closed RunningLat3 closed 7 years ago
I am using webpack and this is my code for sass-loader:
{ test: /\.scss$/, use: ExtractTextPlugin.extract({ fallback: 'style-loader', use: [ {loader:'css-loader'}, { loader: 'sass-loader', options: { includePaths: [ path.join(__dirname, 'node_modules/normalize-scss/sass') ] } } ], publicPath: '../' }) }//* sass loader
and app.scss:
@import "normalize" <-- this is not working
QUICK FIX I DID IS:
@import "normalize/import-now"
According to your documentation I only needed to do the first one, I am confuse on which is right to do.
Thanks
@import 'normalize'; @include normalize();
As @Garfield550 pointed out, you missed one of the steps in the docs.
https://github.com/JohnAlbin/normalize-scss#how-to-use-it
how to use it? it so hard to use!!!
I am using webpack and this is my code for sass-loader:
and app.scss:
@import "normalize" <-- this is not working
QUICK FIX I DID IS:
@import "normalize/import-now"
According to your documentation I only needed to do the first one, I am confuse on which is right to do.
Thanks