aboutsummaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
authorGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2023-04-15 02:10:28 +0200
committerGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2023-04-15 21:47:00 +0200
commit0fd99deca954385091b2528ae478d121efdcfa0e (patch)
tree7f538c61a683c5b81b331249e14546f607523478 /src/App.vue
parentf7a1383da52bce77a3dfd2764f452edc929779cc (diff)
downloadit-tools-ssg.tar.gz
it-tools-ssg.tar.zst
it-tools-ssg.zip
wipssg
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/App.vue b/src/App.vue
index 98199af..56bd733 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,30 +1,30 @@
<script setup lang="ts">
-import { computed } from 'vue';
-import { useRoute, RouterView } from 'vue-router';
-import { darkTheme, NGlobalStyle, NMessageProvider, NNotificationProvider } from 'naive-ui';
-import { darkThemeOverrides, lightThemeOverrides } from './themes';
-import { layouts } from './layouts';
-import { useStyleStore } from './stores/style.store';
+// import { computed } from 'vue';
+// import { darkTheme, NGlobalStyle, NMessageProvider, NNotificationProvider } from 'naive-ui';
+// import { useRoute, RouterView } from 'vue-router';
+// import { darkThemeOverrides, lightThemeOverrides } from './themes';
+// import { layouts } from './layouts';
+// import { useStyleStore } from './stores/style.store';
-const route = useRoute();
-const layout = computed(() => route?.meta?.layout ?? layouts.base);
-const styleStore = useStyleStore();
+// const route = useRoute();
+// const layout = computed(() => route?.meta?.layout ?? layouts.base);
+// const styleStore = useStyleStore();
-const theme = computed(() => (styleStore.isDarkTheme ? darkTheme : null));
-const themeOverrides = computed(() => (styleStore.isDarkTheme ? darkThemeOverrides : lightThemeOverrides));
+// const theme = computed(() => (styleStore.isDarkTheme ? darkTheme : null));
+// const themeOverrides = computed(() => (styleStore.isDarkTheme ? darkThemeOverrides : lightThemeOverrides));
</script>
<template>
- <n-config-provider :theme="theme" :theme-overrides="themeOverrides">
+ <!-- <n-config-provider :theme="theme" :theme-overrides="themeOverrides">
<n-global-style />
<n-message-provider placement="bottom">
<n-notification-provider placement="bottom-right">
- <component :is="layout">
- <router-view />
- </component>
+ <component :is="layout"> -->
+ <router-view />
+ <!-- </component>
</n-notification-provider>
</n-message-provider>
- </n-config-provider>
+ </n-config-provider> -->
</template>
<style>