search

Home  >  Q&A  >  body text

Refused to apply styles from '<URL>' because its MIME type ('text/html') is not a supported stylesheet MIME type

When running the Angular app that contains the home component, I get an error saying Apply styles refused and images not found, I don't know why since the CSS and images folders are in the /src/assets folder

I tried updating the angular.json file and checking the path, and upgrading the NPM version

This is an error

P粉574268989P粉574268989263 days ago467

reply all(1)I'll reply

  • P粉262113569

    P粉2621135692024-03-31 09:05:44

    Add in public/index.html.

    reply
    0
  • Cancelreply