Skip to content
Advertisement

Tag: angular

Angular iubenda-cs-preferences-link not work after routing

In my Angular project I need to add iubenda, after inserting the scripts with all my correct public and private keys, everything seems to work correctly. At this point I need to add a button to change cookie preferences, so I’m going to insert <a mat-button class=”iubenda-cs-preferences-link”> Update Cookie Preferences </ a> At the first loading of the page, everything

Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of “text/html”

I deployed my angular application(Static webpage) on kubernetes and tried launching it from Google Chrome. I see app is loading, however there is nothing displayed on the browser. Upon checking on browser console , I could see this error “Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of “text/html”. Strict

Advertisement