ruoyi-plus-soybean/src/App.vue
2022-02-17 01:01:17 +08:00

25 lines
537 B
Vue

<template>
<n-config-provider
:theme="theme.naiveTheme"
:theme-overrides="theme.naiveThemeOverrides"
:locale="zhCN"
:date-locale="dateZhCN"
class="h-full"
>
<naive-provider>
<router-view />
</naive-provider>
</n-config-provider>
</template>
<script setup lang="ts">
import { zhCN, dateZhCN } from 'naive-ui';
import { NaiveProvider } from '@/components';
import { useThemeStore, subscribeStore } from '@/store';
const theme = useThemeStore();
subscribeStore();
</script>
<style scoped></style>