mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-22 15:56:15 -04:00
refactor: removed theme editor
This commit is contained in:
parent
0af7d81abd
commit
8559fbd774
1 changed files with 3 additions and 7 deletions
|
@ -4,7 +4,6 @@ import { layouts } from './layouts';
|
|||
import { computed } from 'vue';
|
||||
import { useRoute } from 'vue-router'
|
||||
import { darkThemeOverrides, lightThemeOverrides } from './themes'
|
||||
import { NThemeEditor } from 'naive-ui'; // TODO: remove before mep
|
||||
import {
|
||||
darkTheme,
|
||||
NConfigProvider,
|
||||
|
@ -24,12 +23,9 @@ const themeOverrides = computed(() => styleStore.isDarkTheme ? darkThemeOverride
|
|||
<n-config-provider :theme="theme" :theme-overrides="themeOverrides">
|
||||
<n-global-style />
|
||||
<n-message-provider placement="bottom">
|
||||
<n-theme-editor>
|
||||
<!-- TODO: remove before mep -->
|
||||
<component :is="layout">
|
||||
<router-view />
|
||||
</component>
|
||||
</n-theme-editor>
|
||||
</n-message-provider>
|
||||
</n-config-provider>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue