Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

feat(@angular/pwa): add content for when javascript is not available #853

Merged
merged 3 commits into from
May 21, 2018

Conversation

markgoho
Copy link
Contributor

@markgoho markgoho commented May 5, 2018

Adding this line to the body will give us a 100 score in lighthouse for PWA.
image
Hosted site (with added <noscript> tag): https://angular-cli-pwa.firebaseapp.com/

Thanks so much to @Brocco for providing a great example to follow for manipulating the html file. A few of the updates are to make the variable names more semantic given the similar usage.

@hansl
Copy link
Contributor

hansl commented May 7, 2018

This looks good but I'll let @Brocco review.

@christianliebel
Copy link

@markgoho Nitpicking: Could you change the casing of Javascript to JavaScript? That would be excellent. Thank you.

@markgoho
Copy link
Contributor Author

markgoho commented May 9, 2018

@christianliebel will change later today 👍

Copy link
Contributor

@Brocco Brocco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, THANKS!

@filipesilva filipesilva merged commit 11667c6 into angular:master May 21, 2018
@markgoho markgoho deleted the pwa-enhancement branch May 23, 2018 19:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants