Upon deployment, an error appeared in the network tab stating:
We're sorry but app-frontend doesn't work properly without JavaScript enabled. Please enable it to continue.
Here is the code snippet from the index.html
file of a vueJS app:
<body>
<noscript>
<strong>We're sorry but app-frontend doesn't work properly without
JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<script>
if('serviceWorker' in navigator){
navigator.serviceWorker
.register('/sw.js')
}
</script>
</body>