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
feat(nuxt): allow accessing NuxtLayout
ref via layoutRef
#19465
Conversation
Β Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
@danielroe It seems that this also solves another issue. On the current main branch, this line is not triggered |
Added a comment here that is also relevant, I think: #19403 (review) |
β¦lien/nuxt into feat/forward_layout_ref
β Live Preview ready!
|
Co-authored-by: Daniel Roe <daniel@roe.dev>
NuxtLayout
NuxtLayout
ref via layoutRef
π Linked issue
β Type of change
π Description
This PR allow the same thing as #19403 but for
NuxtLayout
: allow usingref
.However this ones use a prop
exposed
to tranfer data since the LayoutLoader's setup is async.todo:
π Checklist