maychan111/ng-multi-bootstrap-themes

Refused to apply style because its MIME type is not a supported stylesheet MIME type

VILLAN3LL3 opened this issue · 1 comments

After having started the application Chrome shows the following error messages:

Refused to apply style from 'http://localhost:4200/assets/light.css' because its MIME type ('text/html') is
not a supported stylesheet MIME type, and strict MIME checking is enabled.
localhost/:1
Refused to apply style from 'http://localhost:4200/assets/dark.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

it could be resolved by adding "extractCss": true to angular.json architect/build/options