refactor: removed theme editor
This commit is contained in:
		
							parent
							
								
									0af7d81abd
								
							
						
					
					
						commit
						8559fbd774
					
				| @ -4,7 +4,6 @@ import { layouts } from './layouts'; | |||||||
| import { computed } from 'vue'; | import { computed } from 'vue'; | ||||||
| import { useRoute } from 'vue-router' | import { useRoute } from 'vue-router' | ||||||
| import { darkThemeOverrides, lightThemeOverrides } from './themes' | import { darkThemeOverrides, lightThemeOverrides } from './themes' | ||||||
| import { NThemeEditor } from 'naive-ui'; // TODO: remove before mep |  | ||||||
| import { | import { | ||||||
|   darkTheme, |   darkTheme, | ||||||
|   NConfigProvider, |   NConfigProvider, | ||||||
| @ -24,12 +23,9 @@ const themeOverrides = computed(() => styleStore.isDarkTheme ? darkThemeOverride | |||||||
|   <n-config-provider :theme="theme" :theme-overrides="themeOverrides"> |   <n-config-provider :theme="theme" :theme-overrides="themeOverrides"> | ||||||
|     <n-global-style /> |     <n-global-style /> | ||||||
|     <n-message-provider placement="bottom"> |     <n-message-provider placement="bottom"> | ||||||
|       <n-theme-editor> |  | ||||||
|         <!-- TODO: remove before mep --> |  | ||||||
|       <component :is="layout"> |       <component :is="layout"> | ||||||
|         <router-view /> |         <router-view /> | ||||||
|       </component> |       </component> | ||||||
|       </n-theme-editor> |  | ||||||
|     </n-message-provider> |     </n-message-provider> | ||||||
|   </n-config-provider> |   </n-config-provider> | ||||||
| </template> | </template> | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user