Feature: 创建项目 & 导航栏动画 & i18n国际化支持

This commit is contained in:
2025-07-05 15:46:25 +08:00
commit dab57fbadf
73 changed files with 7326 additions and 0 deletions

5
src/layouts/README.md Normal file
View File

@ -0,0 +1,5 @@
# Layouts
Layouts are reusable components that wrap around pages. They are used to provide a consistent look and feel across multiple pages.
Full documentation for this feature can be found in the Official [vite-plugin-vue-layouts-next](https://github.com/loicduong/vite-plugin-vue-layouts-next) repository.

33
src/layouts/baseline.vue Normal file
View File

@ -0,0 +1,33 @@
<template>
<VApp id="inspire">
<VNavigationDrawer v-model="drawer">
<!-- -->
</VNavigationDrawer>
<VAppBar>
<VAppBarNavIcon @click="drawer = !drawer" />
<VToolbarTitle>Baseline Layout</VToolbarTitle>
</VAppBar>
<VMain>
<!-- -->
</VMain>
</VApp>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
const drawer = ref(null)
</script>
<script lang="ts">
export default {
name: 'BaselineLayout',
data () {
return {
drawer: null,
}
},
}
</script>

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

@ -0,0 +1,11 @@
<template>
<v-main>
<router-view />
</v-main>
<AppFooter />
</template>
<script lang="ts" setup>
//
</script>