mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 09:02:03 +00:00
fix(nuxt): add default empty title to trigger titleTemplate
(#5064)
This commit is contained in:
parent
a4a3cffb92
commit
9adecac0b7
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user