@@ -97,13 +99,27 @@ console.log(layoutCustomProps.title) // I am a custom layout
```
+```vue [layouts/custom.vue]
+
+
+
+
+
+
+
+```
+
+::
+
:read-more{to="/docs/getting-started/transitions"}
## Layout's Ref
To get the ref of a layout component, access it through `ref.value.layoutRef`.
-````vue [app.vue]
+::code-group
+
+```vue [app.vue]
-
+
+ default layout
+
-````
+```
+
+```vue [layouts/default.vue]
+
+
+
+
+ default layout
+
+
+
+```
+
+::
:read-more{to="/docs/guide/directory-structure/layouts"}