исправляет проблемы с PWA из cписка Lighthouse
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -4,4 +4,6 @@ import Fuse from 'fuse.js'
|
||||
window.Fuse = Fuse
|
||||
window.Alpine = Alpine
|
||||
|
||||
if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/sw.js') }
|
||||
|
||||
Alpine.start()
|
||||
|
@@ -6,6 +6,7 @@
|
||||
<title>{{ title or metadata.title }}</title>
|
||||
<meta name="description" content="{{ description or metadata.description }}">
|
||||
<meta name="generator" content="{{ eleventy.generator }}">
|
||||
<meta name="theme-color" content="#fff"/>
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
<link rel="stylesheet" href="/css/index.css">
|
||||
{% favicon 'src/images/favicon.svg' %}
|
||||
|
@@ -4,6 +4,7 @@
|
||||
"start_url": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#fff",
|
||||
"theme_color": "#fff",
|
||||
"description": "Вики с различными полезными статьями",
|
||||
"icons": {% manifest_icons 'src/images/favicon.svg', 48, 72, 96, 144, 148, 512 %}
|
||||
}
|
Reference in New Issue
Block a user