Skip to content

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

Merged
danielroe merged 2 commits intomainfrom
fix/tsx-pages
Aug 9, 2024
Merged

fix(nuxt): scan jsx pages for page metadata#28479
danielroe merged 2 commits intomainfrom
fix/tsx-pages

Conversation

@danielroe
Copy link
Copy Markdown
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.

@bolt-new-by-stackblitz
Copy link
Copy Markdown

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