You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have a default titleTemplate for all my pages, such as if I don't specify a title in a page, it will use the default one. In @unhead/vue v1. I am using it like this:
Environment
@unhead/vue 2.0.0-rc.2
node v23.6.0
My app is using Hybridly, but I was able to reproduce on a Vite SPA on Stackblitz.
Reproduction
https://stackblitz.com/edit/vitejs-vite-j1drwgle?file=src%2Fmain.js
Describe the bug
I would like to have a default
titleTemplate
for all my pages, such as if I don't specify a title in a page, it will use the default one. In@unhead/vue
v1. I am using it like this:However, in v2, this no longer works.
titleTemplate
is never called, unless a page callsuseHead
with atitle
property.Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: