fix(nuxt): add default empty title to trigger titleTemplate (#5064)

This commit is contained in:
Daniel Roe 2022-05-20 15:43:07 +01:00 committed by GitHub
parent a4a3cffb92
commit 9adecac0b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ const metaMixin = {
} }
export default defineNuxtPlugin((nuxtApp) => { export default defineNuxtPlugin((nuxtApp) => {
useHead(markRaw(metaConfig.globalMeta)) useHead(markRaw({ title: '', ...metaConfig.globalMeta }))
nuxtApp.vueApp.mixin(metaMixin) nuxtApp.vueApp.mixin(metaMixin)