16 lines
311 B
Markdown
16 lines
311 B
Markdown
|
## 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>
|
||
|
```
|
||
|
|
||
|
Learn more on https://nuxt.com/docs/guide/directory-structure/layouts
|