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(nuxt): preserve route metadata assigned outside page #27587

Merged
merged 9 commits into from
Jun 13, 2024
Merged

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Jun 13, 2024

🔗 Linked issue

resolves #27577
resolves #27547

📚 Description

This handles a regression introduced in scanPageMeta whereby we were not preserving route metadata assigned at build-time when any route meta was dynamic...

I've also bundled another fix which resolves #27585, where we were not processing page metadata that was within another function, such as if someone put it inside a setup() function. While we wouldn't recommend doing that, it can break existing code as we previously allowed this.

Copy link

stackblitz bot commented Jun 13, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment