AMP to PWA: PWA page
This page is part of the AMP to PWA pattern example. This is the PWA page. It contains all kinds of non-AMP crazy stuffs like JavaScript. If you arrived here via the AMP page then
- The AMP page should have installed a service worker
- The service worker should have loaded all resources needed for the PWA
- The PWA page loads quickly since everything needed is already on your device
You might also have been prompted to add the PWA to your homescreen, because it has a web app manifest.
Note that to save time building the example, we reused the AMP library in the PWA page, but we've added in extra JavaScript, and we've removed the <html ⚡> declaration, because it's not an AMP page. But we can still use the AMP library if we want, because it's just a components library too!
Related content
Most read