mirror of
https://github.com/a2nt/silverstripe-progressivewebapp.git
synced 2024-10-22 11:05:45 +02:00
Update README.md
This commit is contained in:
parent
b35d563266
commit
f20afe1f51
@ -4,14 +4,14 @@ Tools to add progressive web app functionality to your silverstripe website
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
```
|
```
|
||||||
composer require pixelspin/silverstripe-progressivewebapp
|
composer require michelsteege/silverstripe-progressivewebapp
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
- Install the module, run dev/build and fill in the settings in the siteconfig
|
- Install the module, run dev/build and fill in the settings in the siteconfig
|
||||||
- Include the required js to register the service worker
|
- Include the required js to register the service worker
|
||||||
```
|
```
|
||||||
Requirements::javascript('pixelspin/silverstripe-progressivewebapp:resources/js/progressivewebapp.js');
|
Requirements::javascript('michelsteege/silverstripe-progressivewebapp:resources/js/progressivewebapp.js');
|
||||||
```
|
```
|
||||||
- Add the following tags to the head of your website
|
- Add the following tags to the head of your website
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user