Update index
This commit is contained in:
parent
a8475102d3
commit
ccf9fdcf88
@ -1,18 +1,8 @@
|
|||||||
<script lang="ts">
|
|
||||||
export default {
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
pages: [],
|
|
||||||
}
|
|
||||||
},
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<v-theme-provider :theme="isDark ? 'dark' : 'light'">
|
<v-theme-provider :theme="isDark ? 'dark' : 'light'">
|
||||||
<v-layout class="text-gray-700 dark:text-gray-200 min-h-screen flex flex-col">
|
<v-layout class="text-gray-700 dark:text-gray-200 min-h-screen flex flex-col">
|
||||||
<Nav />
|
<Nav />
|
||||||
<div class="m-auto px-5 text-left flex">
|
<div class="m-auto mt-0 px-5 text-left flex">
|
||||||
<RouterView />
|
<RouterView />
|
||||||
</div>
|
</div>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
11
src/layouts/index.vue
Normal file
11
src/layouts/index.vue
Normal 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>
|
@ -3,3 +3,8 @@
|
|||||||
属于19预科2班的故事还未完结
|
属于19预科2班的故事还未完结
|
||||||
</h1>
|
</h1>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<route lang="yaml">
|
||||||
|
meta:
|
||||||
|
layout: index
|
||||||
|
</route>
|
||||||
|
Loading…
Reference in New Issue
Block a user