Replies: 2 comments
-
That does't seem right to me. You are not inserting the Take a look at the Pages docs for examples on regular layouts and persistent layouts. And maybe the Vue docs on slots. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The fast way I found to pass data to persistent layouts is by: in the child use this: instead of: // Using the shorthand layout: Layout, and in the parent layout, you can access your child with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How do I pass a slot or a prop to a
layout
component?For example, heres a
ForgotPassword
component:Here is the
CardLayout
component:Nothing shows up inside the
h1
tag...Beta Was this translation helpful? Give feedback.
All reactions