Replies: 1 comment
-
Same here! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using unhead in vue I get a warning in the console but setting the title works like expected:
There is a Q&A ( #210 ) that suggests using
setHeadInjectionHandler(() => head)
but the official documentation ( https://unhead.unjs.io/setup/vue/installation#demos ) says I should useapp.use(head)
. I've tested both versions and both work.This is how I should do it (as far as I understand the documentation) and setting the title works like expected but I get the warning.
This is what the Q&A suggests and I don't get a warning and setting the title works like expected. But since it is very different from what the documentation says I'm unsure if I should use it.
Beta Was this translation helpful? Give feedback.
All reactions