feat(projects): 添加侧边菜单

This commit is contained in:
Soybean
2022-01-11 08:22:31 +08:00
parent 371fad4f26
commit e25afe2fad
34 changed files with 1887 additions and 391 deletions

View File

@ -0,0 +1,14 @@
<template>
<hover-container class="w-40px" content-class="hover:text-primary" tooltip-content="主题模式">
<dark-mode-switch :dark="theme.darkMode" class="wh-full" @update:dark="setDarkMode" />
</hover-container>
</template>
<script lang="ts" setup>
import { HoverContainer, DarkModeSwitch } from '@/components';
import { useThemeStore } from '@/store';
const theme = useThemeStore();
const { setDarkMode } = useThemeStore();
</script>
<style scoped></style>