-
Notifications
You must be signed in to change notification settings - Fork 7
Meta tags doesn't update on client side page change, used nuxt-link #70
Comments
I can't reproduce this problem. Could describe how to reproduce |
Check it here: rondoit.com |
I encounter the same problem. The title doesn't change on client-side navigation. #69 fixed that the title is set at all but this issue is still open. Short code snippets to reproduce: // nuxt.config.js
export default {
seo: {
name: "My Application",
title: "Index",
templateTitle: "%title% - %name%"
}
} // pages/index.vue
export default {
asyncData: function(ctx) {
ctx.seo({
title: 'Index',
})
}
} // pages/about.vue
export default {
asyncData: function(ctx) {
ctx.seo({
title: 'About',
})
}
} Navigating from Versions
|
When SSR is enabled, and new page is open via Update package to 1.4.1 and replace: asyncData: function(ctx) {
ctx.seo({
name: 'Name app',
title: 'Home Page',
templateTitle: '%name% - %title%',
description: 'Hello World Page'
})
} to head: function() {
return this.$seo({
name: 'Name app',
title: 'Home Page',
templateTitle: '%name% - %title%',
description: 'Hello World Page'
})
} Doc update! https://github.com/TiagoDanin/Nuxt-SEO#nuxt-head-context |
@mahmoudmy Only confirm that it has been fixed :) |
Every thing is fine, thanks a lot 👍 |
Great! That fix took way less code than I thought. Works like a charm. |
Hello,
On my site when I go to new page meta tags doesn't update, but when I press F5, It's OK!
The text was updated successfully, but these errors were encountered: