liveh5-nuxt/app/layouts/README.md

16 lines
312 B
Markdown
Raw Normal View History

2025-01-08 05:26:12 +00:00
# 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.
```vue
<script setup lang="ts">
definePageMeta({
layout: 'goods',
2025-01-08 05:26:12 +00:00
})
</script>
```
Learn more on <https://nuxt.com/docs/guide/directory-structure/layouts>