AMP and PWA

In this codelab, you’ll convert an app containing AMP pages into a PWA using two different patterns:

  1. transform an AMP site into a PWA (AMP as PWA)
  2. use the App Shell architecture to create a PWA that uses AMP as content (AMP in PWA)

AMP+PWA gives you the best of both worlds: a lightning fast first load with AMP, and native-like capabilities in the PWA.

You'll also get a chance to use Workbox.

Getting started

Clone the repository and navigate to amp-pwa-workbox/project.

Download and install Node.js.

More resources

License

Copyright 2016 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

This is not an official Google product.

pwa