We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to import bootstrap css file from npm module.
In angular-cli.json:
"styles": [ "styles.scss", "../node_modules/admin-lte/bootstrap/css/bootstrap.css" ]
In webpack.config
"styles": [ "./src/styles.scss", "./node_modules/admin-lte/bootstrap/css/bootstrap.min.css" ]
Styles are in the style.bundle but don't applied on the DOM
Can someone help me?
Regards
The text was updated successfully, but these errors were encountered:
In your angular.cli.json is defined to use scss extension for stylesheet? Run this and see if it work: ng set defaults.styleExt scss.
ng set defaults.styleExt scss
Sorry, something went wrong.
Solved replacing in web.config css files management
{ "exclude": [ path.join(process.cwd(), "src/styles.scss") ], "test": /\.css$/, "loaders": ['style-loader', 'css-loader'], "include": [/node_modules/] },
No branches or pull requests
I am trying to import bootstrap css file from npm module.
In angular-cli.json:
In webpack.config
Styles are in the style.bundle but don't applied on the DOM
Can someone help me?
Regards
The text was updated successfully, but these errors were encountered: