DigiComp.FlowWebManifestUtils/README.md

23 lines
721 B
Markdown
Raw Normal View History

2024-06-21 13:09:34 +02:00
# DigiComp.FlowWebManifestUtils
This package provides small helpers to provide a PWA webmanifest.
It consists of two parts: a middleware, which will return the manifest to the browser and a view helper, which makes
it easy to integrate your manifest to your (fluid template).
All you need to do is to integrate the Manifest-VieHelper to the `head` section of your template and adjust the
`DigiComp.FlowWebmanifestUtils.manifest` values in Settings.yaml to match your needs.
Let me provide you an example:
```html
<html>
<head>
<DigiComp.FlowWebmanifestUtils:WebManifest />
</head>
</html>
```
That is the minimum you need to do, to have working manifest for your application.
The start_url - Parameter in the