Static GitHub Issues

[704] Reading meta tags: Title

prev: Why vue version is 2.2.x in nuxt/0.10.7 ?
next: npm run generate and dynamic routes

Nuxt provides a way to set the <head> tags vue-meta. It would be great if this can read in from a higher component.

For example if your page components sets the <title> tag, it would be awesome if the layout component can listen on the change of title and use it in the template.

Right now, the only solution is to connect this data in a store. It is a solution but given that the head plugin is available, we should make available the vue-meta object. Giving the developer flexibility to listen on changes that vue-meta provides.

https://github.com/declandewet/vue-meta#changed-function

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c600">#c600</a>)</em></sub></div>