This commit is contained in:
Michel 2018-06-24 18:28:15 +02:00
parent c54dc51fc3
commit 1d6bc65a0f
1 changed files with 5 additions and 1 deletions

View File

@ -9,4 +9,8 @@ composer require pixelspin/silverstripe-progressivewebapp
## Usage
Install the module, run dev/build and fill in the settings in the siteconfig
Place the link to the manifest file (<link rel="manifest" href="{$BaseHref}manifest.json">) in the head of your pages and add the color meta data as well (<meta name="theme-color" content="$SiteConfig.ManifestColor">)
Place the link to the manifest file (<link rel="manifest" href="{$BaseHref}manifest.json">) in the head of your pages and add the color meta data as well (<meta name="theme-color" content="$SiteConfig.ManifestColor">)
Include the js (Requirements::javascript('pixelspin/silverstripe-progressivewebapp:resources/js/progressivewebapp.js');)
## Todo
Improve the documentation