After following the Angular documentation for deployment, I am deploying my angular application on github pages. The steps I have taken include:
1. Running "ng build --prod --output-path docs --base-href /<project_name>/".
2. Making a copy of docs/index.html and renaming it as docs/404.html after the build is complete.
3. Committing Changes and pushing them to GitHub.
4. Configuring the project page on GitHub to publish from the docs folder.
Despite following these steps correctly, when I access the deployed app, I only see a blank page with error messages in the browser console like:
"main-es2015.84e37fd7abe9e8bbec00.js" was blocked because of a disallowed MIME type ("text/html").
"polyfills-es2015.f332a089ad1600448873.js" was blocked because of a disallowed MIME type ("text/html").
"runtime-es2015.0dae8cbc97194c7caed4.js" was blocked because of a disallowed MIME type ("text/html").
As a beginner in Angular, I would appreciate any help or guidance on resolving this issue.