refactor: move meta to nuxt config

pull/685/head
三咲智子 2023-01-02 06:03:25 +08:00
rodzic aca6f16245
commit 72e03f8109
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 69992F2250DFD93E
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

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

Wyświetl plik

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