Notable Changes
Title / TitleTemplate Tag Priority (3807766), closes #165
For parity with how the tag priority works for other tags, you can now set a tag priority for title and title template.
useHead({
title: {
textContent: 'high-priority title',
tagPriority: 'high',
},
})
// ...
useHead({
title: 'new title'
})
// ...
// title will be "high-priortiy title"
useSeoMeta themeColor
(75fd20d)
You can now provide themeColor as an object or an array of objects with the media
key. This allows you to provide different themes depending on the device and user preferences.
useSeoMeta({
themeColor: [
{ content: 'cyan', media: '(prefers-color-scheme: light)' },
{ content: 'black', media: '(prefers-color-scheme: dark)' },
],
})