DEV Community

loading...

Discussion on: SEO in Nuxt.js with the Head Property

Collapse
debs_obrien profile image
Debbie O'Brien Author

Hey Dan, not sure I fully understand what you want to do. Feel free to send me an example or a screenshot.

Collapse
danbaechtold profile image
Daniel Bächtold

OK thanks!
I have a PWA which always shows a title bar. This is some of the code in layout.php:

<v-app-bar>
  <v-toolbar-title>{{ title }}</v-toolbar-title>
  ...
</v-app-bar>

I'd like the {{ title }} to be whatever has been set with head().

Thread Thread
mannil profile image
Alexander Lichter

Hey Dan 👋🏻

AFAIK you can't retrieve the document's title from vue-meta directly :/