DEV Community

loading...

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

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 :/