创建登录页面。

This commit is contained in:
2022-12-29 00:37:02 +08:00
parent 6d9fb30bbd
commit d52055a0ae
6 changed files with 222 additions and 9 deletions

View File

@@ -1,7 +1,28 @@
<template>
<RouterView />
<n-config-provider :theme-overrides="themeOverrides">
<n-message-provider>
<router-view />
</n-message-provider>
</n-config-provider>
</template>
<script setup lang="ts">
import { RouterView } from 'vue-router'
import { NConfigProvider, type GlobalThemeOverrides } from 'naive-ui'
const themeOverrides: GlobalThemeOverrides = {
common: {
primaryColor: '#42b883',
borderRadius: '4px',
},
// Button: {
// textColor: '#FF0000',
// },
// Select: {
// peers: {
// InternalSelection: {
// textColor: '#FF0000',
// },
// },
// },
}
</script>