Static GitHub Issues

[624] head title: undefined on loading

prev: Improve error reporting from generate
next: Feature request: typescript example

Given:

// head
titleTemplate: '%s - Marvin ROGER'

And two pages index.vue and about.vue each containing its title as head title.

On ^0.10.0, if we're on the index page and click on the about link, the initial title is Home and, after the about page is loaded, the title is About. This is the correct and expected behavior.

On ^0.11.0 however, the initial title is Home, during loading it is undefined, and after it is About. The issue being obviously that the page title is undefined on loading.

Here is a link to a repo where the issue happens : https://github.com/marvinroger/www.marvinroger.fr This repo is on ^0.10.0 and it works fine, but try changing to ^0.11.0 and you'll see the issue.

<!--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/c546">#c546</a>)</em></sub></div>