Skip to content

Instantly share code, notes, and snippets.

@gauntface
Created July 19, 2017 00:06
Show Gist options
  • Save gauntface/a70c769dabe578a24c87d1af42727f54 to your computer and use it in GitHub Desktop.
Save gauntface/a70c769dabe578a24c87d1af42727f54 to your computer and use it in GitHub Desktop.
Example usage of workbox-routing global namespace
const router = new google.workbox.routing.Router();
const route = new google.workbox.routing.Route();
const expressRoute = new google.workbox.routing.ExpressRoute();
google.workbox.routing.default // This is the default export "routing"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment