Skip to content

Fix Inertia v3 layout props API name in upgrade prompt#823

Merged
pushpak1300 merged 1 commit into
laravel:mainfrom
TTezcan:fix/inertia-v3-layout-props-name
May 24, 2026
Merged

Fix Inertia v3 layout props API name in upgrade prompt#823
pushpak1300 merged 1 commit into
laravel:mainfrom
TTezcan:fix/inertia-v3-layout-props-name

Conversation

@TTezcan
Copy link
Copy Markdown
Contributor

@TTezcan TTezcan commented May 23, 2026

The Inertia v3 upgrade prompt labels the layout-props feature as useLayoutProps, but @inertiajs/vue3 v3 exports no such function. The actual API is setLayoutProps (and resetLayoutProps), per @inertiajs/vue3/types/layoutProps.d.ts and index.d.ts. The line's own description already references setLayoutProps() — this fixes the inconsistent label.

@pushpak1300 pushpak1300 merged commit 63f0a3f into laravel:main May 24, 2026
23 checks passed
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

Successfully merging this pull request may close these issues.

2 participants