Update index

This commit is contained in:
thehrz 2023-06-26 15:09:21 +08:00
parent a8475102d3
commit ccf9fdcf88
No known key found for this signature in database
GPG Key ID: 683658B4CAC43158
3 changed files with 17 additions and 11 deletions

View File

@ -1,18 +1,8 @@
<script lang="ts">
export default {
data() {
return {
pages: [],
}
},
}
</script>
<template>
<v-theme-provider :theme="isDark ? 'dark' : 'light'">
<v-layout class="text-gray-700 dark:text-gray-200 min-h-screen flex flex-col">
<Nav />
<div class="m-auto px-5 text-left flex">
<div class="m-auto mt-0 px-5 text-left flex">
<RouterView />
</div>
<Footer />

11
src/layouts/index.vue Normal file
View File

@ -0,0 +1,11 @@
<template>
<v-theme-provider :theme="isDark ? 'dark' : 'light'">
<v-layout class="text-gray-700 dark:text-gray-200 min-h-screen flex flex-col">
<Nav />
<div class="m-auto px-5 text-left flex">
<RouterView />
</div>
<Footer />
</v-layout>
</v-theme-provider>
</template>

View File

@ -3,3 +3,8 @@
属于19预科2班的故事还未完结
</h1>
</template>
<route lang="yaml">
meta:
layout: index
</route>