Skip to content

How to define noscript? #17320

Jun 24, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Adding it to index.html should work fine. Please share the way you did it and the way you verified that it didn't work.

Example:

<!doctype html>
<html>
  <head>
    <title><%= productName %></title>
    ...
  </head>

  <body>
     <noscript>
       <strong>Sorry, but <%= productName %> doesn't work without JavaScript.</strong>
       Please enable JavaScript to continue.
     </noscript>

     <!-- quasar:entry-point -->
  </body>
</html>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ivanjaros
Comment options

@yusufkandemir
Comment options

Answer selected by ivanjaros
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants