friendsoftypo3 / pwa_manifest
此扩展提供 Web App Manifest 配置。
v1.1.0
2021-10-29 10:07 UTC
Requires
- typo3/cms-core: ^9.5 || ^10.0 || ^11.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.15
This package is auto-updated.
Last update: 2024-09-16 18:15:32 UTC
README
此扩展在 TYPO3 网站配置中添加 PWA Web App Manifest 配置。
如果您有任何问题,请在 #initiative-pwa Slack 频道留言。
需求
扩展至少需要 TYPO3 版本 9.5。
安装
使用 composer 安装扩展
composer require friendsoftypo3/pwa_manifest
然后,包括 typoscript 模板,并前往带有 ?type=835 的页面。
配置
Web App Manifest
有关更多信息,请参阅 参考。
{
"short_name": "Maps",
"name": "Google Maps",
"icons": [
{
"src": "/images/icons-192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/images/icons-512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": "/maps/?source=pwa",
"background_color": "#3367D6",
"display": "standalone",
"scope": "/maps/",
"theme_color": "#3367D6"
}
开发
此扩展的开发是作为 TYPO3 PWA 创新项目的一部分进行的,请参阅 https://typo3.org/community/teams/typo3-development/initiatives/pwa/
致谢
特别感谢赞助此解决方案开发的 macopedia.com 公司。
参与项目的开发者
- Łukasz Uznański (Macopedia)