Skip to content

Commit 81327a6

Browse files
committed
Fixed notch on iphone
1 parent ce8c445 commit 81327a6

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

public/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width,initial-scale=1.0">
7+
<meta name="apple-mobile-web-app-capable" content="yes">
78
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
89
<title>albumer</title>
910
</head>

vue.config.js

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1-
/*module.exports = {
2-
transpileDependencies: ['vuetify'],
3-
};*/
1+
module.exports = {
2+
pwa: {
3+
name: 'albumer',
4+
themeColor: '#b65b6b',
5+
msTileColor: '#b65b6b',
6+
appleMobileWebAppCapable: 'yes',
7+
appleMobileWebAppStatusBarStyle: 'black-translucent',
8+
9+
// configure the workbox plugin
10+
workboxPluginMode: 'InjectManifest',
11+
},
12+
};

0 commit comments

Comments
 (0)