createServiceWorker {shiny.pwa}R Documentation

Creates the service worker file based of the package template file.

Description

Creates the service worker file based of the package template file.

Usage

createServiceWorker(output)

Arguments

output

Relative folder where to create the service worker file. Usually corresponds to the folder used by shiny to serve static files, this folder must exist and is usually the www folder of your shiny project.

See Also

[createDirectories()], [createIcon()], [createOfflinePage()], [createManifest()]

Other fileGen: createDirectories(), createIcon(), createManifest(), createOfflinePage()


[Package shiny.pwa version 0.2.1 Index]