Skip to content

RouteHandlerObject ​

Interface @vite-pwa/workbox-swkit/core

An object with a handle method of type RouteHandlerCallback.

A Route object can be created with either an RouteHandlerCallback function or this RouteHandler object. The benefit of the RouteHandler is it can be extended (as is done by the workbox-strategies package).

Properties ​

PropertyTypeDefaultDescription
handleRouteHandlerCallback

Released under the MIT License.