feat: 首页架构

This commit is contained in:
MTrun
2021-12-18 16:36:43 +08:00
parent 44667a89f0
commit 90e45f6c23
31 changed files with 548 additions and 62 deletions
+3
View File
@@ -0,0 +1,3 @@
import Doc from './index.vue';
export { Doc };
+16
View File
@@ -0,0 +1,16 @@
<template>
<n-button quaternary @click="handleClick" title="说明文档">
<n-icon size="20" :depth="1">
<DocumentTextIcon />
</n-icon>
</n-button>
</template>
<script lang="ts" setup>
import { openDoc } from '@/utils/page'
import { DocumentText as DocumentTextIcon } from '@vicons/ionicons5'
const handleClick = () => {
openDoc()
}
</script>