Ferdinand Kuhl
6908aad70c
All checks were successful
ci/woodpecker/push/code-style Pipeline was successful
22 lines
721 B
Markdown
22 lines
721 B
Markdown
# 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
|