Go to file
2018-07-29 12:19:25 +02:00
_config Update config.yml 2018-07-05 18:12:25 +02:00
resources/js Service worker 2018-07-04 12:53:26 +02:00
src Service worker 2018-07-08 10:55:43 +02:00
templates Update ServiceWorker.ss 2018-07-29 12:19:25 +02:00
.editorconfig First commit 2018-06-24 15:51:50 +02:00
.gitignore First commit 2018-06-24 15:51:50 +02:00
composer.json Update composer.json 2018-07-05 18:03:05 +02:00
LICENSE First commit 2018-06-24 15:51:50 +02:00
README.md Update README.md 2018-07-05 18:04:16 +02:00

SilverStripe Progressive Web App

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">