You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_includes/getting-started/progressive-web-apps.html
+10-14Lines changed: 10 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
<h2id="pwa" class="page-header">Progressive Web Apps</h2>
2
+
<p>We've included icons to help you set up your application as a Progressive Web App (PWA) if you want. You'll find them
3
+
in the images folder with the form <em>pwa-icon-[size]x[size].png</em>.</p>
4
+
5
+
<p>Here's an example of a PWA manifest.json file you can update and use for your application:</p>
6
+
7
+
<pre>
1
8
{
2
9
"short_name": "ID7",
3
10
"name": "ID7 - University of Warwick brand",
@@ -22,18 +29,7 @@
22
29
"scope": "/",
23
30
"theme_color": "#A499F4",
24
31
"description": "Standalone app for University of Warwick's ID7 brand",
25
-
"screenshots": [
26
-
{
27
-
"src": "/dist/images/screenshot-540x720.jpg",
28
-
"type": "image/jpg",
29
-
"sizes": "540x720",
30
-
"form_factor": "narrow"
31
-
},
32
-
{
33
-
"src": "/dist/images/screenshot-720x540.jpg",
34
-
"type": "image/jpg",
35
-
"sizes": "720x540",
36
-
"form_factor": "wide"
37
-
}
38
-
]
39
32
}
33
+
</pre>
34
+
35
+
<p>There's more you can do with PWAs if you're intending for people to actually install your app. See <ahref="https://web.dev/learn/pwa?hl=en">web.dev's guidelines</a> for more.</p>
0 commit comments