when i use custom controller and call index function for home page
-
why throught this error
Refused to apply style from 'http://127.0.0.1:8000/css/shop.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.when i use custom controller and call index function for home page
-
Hi there,
please verify once the URL path is correct for the CSS file. because this issue is faced when the URL is incorrect.
If still facing the same please let us know.
-
@Amitk-Webkul yeah am sure path is correct
-
Hi @mindwebtree,
Please check the rel attribute from the link element. The error will only appear when the rel attribute is not there.
and the path of the CSS file is not correct for this try to click on the URL of the CSS file if the file is not opened for this correct the URL.