I am getting below error in Console:
Refused to apply style from 'http://localhost:4200/bootstrap/dist/css
/bootstrap.css' because its MIME type ('text/html') is not a supported
stylesheet MIME type, and strict MIME checking is enabled. webpack-
internal:///../../../core/esm5/core.js:3857 Angular is running in the
development mode. Call enableProdMode() to enable the production mode.
localhost/:1 Refused to apply style from 'http://localhost:4200/bootstrap
/dist/css/bootstrap.css' because its MIME type ('text/html') is not a
supported stylesheet MIME type, and strict MIME checking is enabled.
Below is the code that I use to add Bootstrap:
npm install bootstrap@4.0.0 --save
and then I add the path of bootstrap.css file:
path(/bootstrap/dist/css/bootstrap.css)
in style.css file
Note: My server is running but I am not able to use bootstrap.