Hello,
I’ve created a Web App in Vue3 but I cant seem to get it to work on my Smart TV running Tizen 5.
I’ve already addded babel in my solution to tone down the new JS but that isn’t the issue…
I keep getting
Failed to load module script: The server responded with a non-JavaScript
MIME type of “”. Strict MIME type checking is enforced for module scripts per HTML spec.
My index.html isn’t anything special
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/x-icon" href="./assets/favicon-vkbPXl62.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sportlink Club Info Viewer</title>
<script type="module" crossorigin src="./assets/index-BNT66VsA.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-DJZriVy7.css">
</head>
<body>
<div id="app"></div>
</body>
</html>
I’ve searched everywhere, even asked ChatGPT. but i can’t find out why this is happening.
On all other devices its working and when i check the log the mime type is text/javascript
The TV emmulator is also working fine but that’s Tizen 8.0 I believe.
I hope somebody could help me.
Kind regards,
Patrick