Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

definePageMeta not working with nuxt-seo-kit #79

Closed
mukundshah opened this issue Mar 8, 2023 · 3 comments
Closed

definePageMeta not working with nuxt-seo-kit #79

mukundshah opened this issue Mar 8, 2023 · 3 comments

Comments

@mukundshah
Copy link

I am using nuxt-seo-kit and it relies on title and description set through definePageMeta, but now, nuxt-typed-router throws errors all over the place.

This is my current usage:

definePageMeta({
  title: 'Home',
  description: 'This is homepage'
});

Error:

No overload matches this call.
  The last overload gave the following error.ts(2769)
__definePageMeta.ts(92, 17): The last overload is declared here.
__definePageMeta.ts(127, 17): The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible.
@victorgarciaesgi
Copy link
Owner

Hi! I think It's a problem of compatibility between nuxt-typed-router and nuxt-seo-kit, as title and description are typed augmented by the seo-kit. I will investigate

@victorgarciaesgi victorgarciaesgi changed the title v3.x.x broke my site. It isn't letting me use custom attributes in definePageMeta definePageMeta not working with nuxt-seo-kit Mar 8, 2023
@victorgarciaesgi
Copy link
Owner

Fixed in v3.0.6

@mukundshah
Copy link
Author

I came here to update the title, but you already did it.

Thank you! x2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants