first commit
This commit is contained in:
15
app/layouts/default.vue
Normal file
15
app/layouts/default.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<template>
|
||||
<div id="wrapper">
|
||||
<AppHeader />
|
||||
<slot />
|
||||
<AppFooter />
|
||||
<GotoTop />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
// Explicit imports so header/footer/gototop are not lazy-loaded (avoids hydration issues)
|
||||
import AppHeader from '~/components/AppHeader.vue'
|
||||
import AppFooter from '~/components/AppFooter.vue'
|
||||
import GotoTop from '~/components/GotoTop.vue'
|
||||
</script>
|
||||
Reference in New Issue
Block a user