Tuesday, August 28, 2018

GWT app and Chrome Lighthouse

I've got a GWT 2.7 app. The index.html is fairly standard:

<script type="text/javascript" language="javascript" src="xxx/xxx.nocache.js"></script>

<body>
   
<!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
   
<noscript>
       
<div
           
style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
            Your web browser must have JavaScript enabled in order for this
            application to display correctly.
</div>
   
</noscript>
</body>

Lighthouse doesn't give a SEO result and displays the error message about JS not enabled.

When I run Lighthouse on an Angular app it has no problem.

Anyone know why ?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment