refactor: removed theme editor

This commit is contained in:
Corentin Thomasset 2022-04-14 23:30:06 +02:00
parent 0af7d81abd
commit 8559fbd774
No known key found for this signature in database
GPG key ID: DBD997E935996158

View file

@ -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>
<component :is="layout">
<router-view />
</component>
</n-message-provider>
</n-config-provider>
</template>