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): scan jsx pages for page metadata #28479

Merged
merged 2 commits into from
Aug 9, 2024
Merged

fix(nuxt): scan jsx pages for page metadata #28479

merged 2 commits into from
Aug 9, 2024

Conversation

danielroe
Copy link
Member

🔗 Linked issue

resolves #28245

📚 Description

We were parsing all pages as SFCs and skipping extracting page metadata if they were not.

This handles the case of JS/JSX page files.

Copy link

stackblitz bot commented Aug 9, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

since Nuxt >= 3.12.0 definePageMeta({ layout: 'custom' }) invalid
1 participant