liveh5-nuxt/app/layouts
xingyy ad9899d716 refactor(app): 优化代码结构和性能
- 移除 default.vue 中的 keep-alive 组件,以提高页面切换性能
- 在 ItemList 组件中增加对返回数据的数组判断,提升代码健壮性
- 删除未使用的 goodStore 导入,清理冗余代码
2025-01-21 19:54:00 +08:00
..
404.vue 项目初始化 2025-01-08 13:26:12 +08:00
default.vue refactor(app): 优化代码结构和性能 2025-01-21 19:54:00 +08:00
README.md refactor(store): 重构 home store 并改名为 goods store 2025-01-17 16:56:13 +08: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.

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

Learn more on https://nuxt.com/docs/guide/directory-structure/layouts