Skip to content

Commit 9619e90

Browse files
committed
docs: pwa
1 parent fd95a79 commit 9619e90

15 files changed

+178
-1
lines changed

Diff for: docs/.vuepress/config.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@ module.exports = {
1313
'/zh/': 'Vue 驱动的静态网站生成器'
1414
},
1515
head: [
16-
['link', { rel: 'icon', href: `/logo.png` }]
16+
['link', { rel: 'icon', href: `/logo.png` }],
17+
['link', { rel: 'manifest', href: '/manifest.json' }],
18+
['meta', { name: 'theme-color', content: '#3eaf7c' }],
19+
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
20+
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }],
21+
['link', { rel: 'apple-touch-icon', href: `/icons/apple-touch-icon-152x152.png` }],
22+
['link', { rel: 'mask-icon', href: '/icons/safari-pinned-tab.svg', color: '#3eaf7c' }],
23+
['meta', { name: 'msapplication-TileImage', content: '/icons/msapplication-icon-144x144.png' }],
24+
['meta', { name: 'msapplication-TileColor', content: '#000000' }]
1725
],
1826
serviceWorker: true,
1927
themeConfig: {
9.2 KB
Loading
29.1 KB
Loading
3.29 KB
Loading
3.95 KB
Loading
4.57 KB
Loading
1.46 KB
Loading
1.78 KB
Loading

Diff for: docs/.vuepress/public/icons/apple-touch-icon.png

4.57 KB
Loading

Diff for: docs/.vuepress/public/icons/favicon-16x16.png

799 Bytes
Loading

Diff for: docs/.vuepress/public/icons/favicon-32x32.png

1.24 KB
Loading
1.14 KB
Loading

Diff for: docs/.vuepress/public/icons/mstile-150x150.png

4.18 KB
Loading

Diff for: docs/.vuepress/public/icons/safari-pinned-tab.svg

+149
Loading

Diff for: docs/.vuepress/public/manifest.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "VuePress",
3+
"short_name": "VuePress",
4+
"icons": [
5+
{
6+
"src": "/icons/android-chrome-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png"
9+
},
10+
{
11+
"src": "/icons/android-chrome-512x512.png",
12+
"sizes": "512x512",
13+
"type": "image/png"
14+
}
15+
],
16+
"start_url": "/",
17+
"display": "standalone",
18+
"background_color": "#fff",
19+
"theme_color": "#3eaf7c"
20+
}

0 commit comments

Comments
 (0)