- 调整 default.vue 中的主容器样式,使其更加灵活 - 在 home/index.vue 和 profile/index.vue 中应用 flex 布局,提高页面结构的适应性 - 优化代码格式和缩进,提高可读性 |
||
---|---|---|
.. | ||
404.vue | ||
default.vue | ||
README.md |
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://nuxt.com/docs/guide/directory-structure/layouts