refactor: move meta to nuxt config

zio/stable
三咲智子 2023-01-02 06:03:25 +08:00
parent aca6f16245
commit 72e03f8109
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
2 changed files with 3 additions and 3 deletions

View File

@ -44,8 +44,5 @@ export function setupPageHeader() {
},
titleTemplate: title => `${title ? `${title} | ` : ''}${APP_NAME}${isDev ? ' (dev)' : isPreview ? ' (preview)' : ''}`,
link,
meta: [
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
],
})
}

View File

@ -129,6 +129,9 @@ export default defineNuxtConfig({
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' },
{ rel: 'apple-touch-icon', href: '/apple-touch-icon.png' },
],
meta: [
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
],
},
},
colorMode: { classSuffix: '' },