feat: introduce layouts (#28)
This commit is contained in:
1 parent
7bfa84d907
commit
b1eaea501a
8 files changed
+68
-3
No files matched your search
@@ -0,0 +1,13 @@
|
||||
## Layouts
|
||||
|
||||
Vue components in this dir are used as layouts.
|
||||
|
||||
By default, `default.vue` will be used unless an alternative is specified in the route meta.
|
||||
|
||||
```html
|
||||
<script setup lang="ts">
|
||||
definePageMeta({
|
||||
layout: 'home',
|
||||
})
|
||||
</script>
|
||||
```
|
||||
Reference in new issue
Block a user