Skip to content

Commit

Permalink
feat: add default <noscript> content (#856)
Browse files Browse the repository at this point in the history
Add some default content that can be seen by browsers where JavaScript
is disabled. See:
https://developers.google.com/web/tools/lighthouse/audits/no-js

Closes #854
  • Loading branch information
nanomad authored and yyx990803 committed Feb 21, 2018
1 parent 399e759 commit a489803
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<title><%= options.projectName %></title>
</head>
<body>
<noscript>
<strong>We're sorry but <%= options.projectName %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
Expand Down

0 comments on commit a489803

Please sign in to comment.