Installation 

Install with Composer 

composer require woit/wit-pwamanifest
Copied!

Add the site set 

The extension provides the site set woit/wit-pwamanifest (Configuration/Sets/WitPwamanifest/). It contains the manifest and service worker endpoints and the <link rel="manifest"> tag.

Add the set as dependency to the site configuration, either in the backend (TYPO3 v14: module Sites > Setup, tab General, field Sets for this Site) or directly in the config.yaml of your site:

config/sites/<your-site>/config.yaml
dependencies:
  - woit/wit-pwamanifest
Copied!

Alternative: TypoScript record 

If a sys_template record of the site has the flag Clear > Setup checked (tab Advanced Options), it removes the setup TypoScript of the site set, including the endpoints of this extension. Include the static TypoScript template WIT PWA Manifest (wit_pwamanifest) in this record instead (module TypoScript > Edit TypoScript Record > Advanced Options > Include TypoScript sets).

Symptom when the TypoScript is missing: calling ?type=835 returns the error No page configured for type=835.

Next steps 

Fill in the PWA fields in the site configuration, see Configuration.