i am using ionic for a webapp and lazy loading some modules
everything works fine when i navigate to pages from other pages.
It also works well when i use the browser to visit pages like mydomain.com/notes
but when i go to pages with dynamic links like “mydomain.com/view-notes/:notes_id” i get this error
Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://mydomain.com/view-notes/build/main.css". polyfills.js:1 Uncaught SyntaxError: Unexpected token < vendor.js:1 Uncaught SyntaxError: Unexpected token < main.js:1 Uncaught SyntaxError: Unexpected token <
app is to be hosted on firebase
ionic -v 3.19.0