elk/layouts/README.md
2022-11-13 13:34:43 +08:00

310 B

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.

<script setup lang="ts">
definePageMeta({
  layout: 'home',
})
</script>

Learn more on https://v3.nuxtjs.org/guide/directory-structure/layouts