diff options
author | 2023-05-28 23:13:24 +0200 | |
---|---|---|
committer | 2023-05-28 23:29:14 +0200 | |
commit | 33c9b6643f58a6930043f460d5bfdca4bc1f7222 (patch) | |
tree | f313935e30f7b90ea16e564e7171e2e72319ce29 /src/App.vue | |
parent | 4d2b037dbe4e78aa90a4a6d9c7315dcf0a51fed9 (diff) | |
download | it-tools-33c9b6643f58a6930043f460d5bfdca4bc1f7222.tar.gz it-tools-33c9b6643f58a6930043f460d5bfdca4bc1f7222.tar.zst it-tools-33c9b6643f58a6930043f460d5bfdca4bc1f7222.zip |
chore(lint): switched to a better lint config
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/App.vue b/src/App.vue index 98199af..6bd9a36 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,7 @@ <script setup lang="ts"> import { computed } from 'vue'; -import { useRoute, RouterView } from 'vue-router'; -import { darkTheme, NGlobalStyle, NMessageProvider, NNotificationProvider } from 'naive-ui'; +import { RouterView, useRoute } from 'vue-router'; +import { NGlobalStyle, NMessageProvider, NNotificationProvider, darkTheme } from 'naive-ui'; import { darkThemeOverrides, lightThemeOverrides } from './themes'; import { layouts } from './layouts'; import { useStyleStore } from './stores/style.store'; @@ -16,14 +16,14 @@ const themeOverrides = computed(() => (styleStore.isDarkTheme ? darkThemeOverrid <template> <n-config-provider :theme="theme" :theme-overrides="themeOverrides"> - <n-global-style /> - <n-message-provider placement="bottom"> - <n-notification-provider placement="bottom-right"> + <NGlobalStyle /> + <NMessageProvider placement="bottom"> + <NNotificationProvider placement="bottom-right"> <component :is="layout"> - <router-view /> + <RouterView /> </component> - </n-notification-provider> - </n-message-provider> + </NNotificationProvider> + </NMessageProvider> </n-config-provider> </template> |