I created Angular project using angular cli. I installed bootstrap using npm. But, it's not applying bootstrap styles without adding bootstrap css in index.html.
How to resolve this? I don't want to add bootstrap css manually.
I created Angular project using angular cli. I installed bootstrap using npm. But, it's not applying bootstrap styles without adding bootstrap css in index.html.
How to resolve this? I don't want to add bootstrap css manually.
Add this to your .angular-cli.json file:
"styles": [
"../node_modules/bootstrap/dist/css/bootstrap.min.css"
],