michelsteege/silverstripe-progressivewebapp

This package is abandoned and no longer maintained. No replacement package was suggested.

Tools to add progressive web app functionality to your silverstripe website

Installs: 122

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 2

Forks: 1

Open Issues: 1

Type:silverstripe-vendormodule

v1.10 2018-08-02 13:26 UTC

This package is auto-updated.

Last update: 2020-05-22 17:13:15 UTC


README

Tools to add progressive web app functionality to your silverstripe website

Installation

composer require michelsteege/silverstripe-progressivewebapp

Usage

  • Install the module, run dev/build and fill in the settings in the siteconfig
  • Include the required js to register the service worker
Requirements::javascript('michelsteege/silverstripe-progressivewebapp:resources/js/progressivewebapp.js');
  • Add the following tags to the head of your website
<meta name="theme-color" content="$SiteConfig.ManifestColor">
<link rel="manifest" href="{$BaseHref}manifest.json">