feat: 初始化前端项目基础架构
- 添加路由配置和基础页面组件 - 配置环境变量和全局类型定义 - 实现Pinia状态管理和axios封装 - 添加基础布局组件和全局头部 - 配置Vite构建工具和开发环境
This commit is contained in:
12
src/App.vue
12
src/App.vue
@@ -1,11 +1,15 @@
|
||||
<script setup lang="ts">
|
||||
import BasicLayout from './layouts/BasicLayout.vue';
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main>
|
||||
<RouterView />
|
||||
</main>
|
||||
<div id="app">
|
||||
<BasicLayout />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
<style scoped>
|
||||
#app {}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user