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

fix: Unable to use site-config:resolve hook #374

Open
TechAkayy opened this issue Jan 9, 2025 · 0 comments
Open

fix: Unable to use site-config:resolve hook #374

TechAkayy opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@TechAkayy
Copy link

🐛 The bug

On a fresh nuxt app, with our module added, I tried using the site-config:resolve hook by following our docs https://nuxtseo.com/docs/site-config/api/nuxt-hooks.

But, I see type issues, and the hook doesn't seem to have siteConfig passed on. Please advise with the correct usage, thank you!

Git repo - https://github.com/TechAkayy/my-seo-app

image

In debug mode,

image

🛠️ To reproduce

https://stackblitz.com/github/TechAkayy/my-seo-app

🌈 Expected behavior

The hook site-config:resolve passed the siteConfig to update it.

ℹ️ Additional context

No response

@TechAkayy TechAkayy added the bug Something isn't working label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant