Browse Source

chore: fix lint issues docs

alvarosabu 1 year ago
parent
commit
3d032c95da
2 changed files with 5 additions and 5 deletions
  1. 2 2
      docs/.vitepress/theme/TresLayout.vue
  2. 3 3
      docs/.vitepress/theme/index.ts

+ 2 - 2
docs/.vitepress/theme/TresLayout.vue

@@ -1,8 +1,8 @@
 <script setup>
-import DefaultTheme from 'vitepress/theme'
+import Theme from 'vitepress/theme'
 import LoveVueThreeJS from './components/LoveVueThreeJS.vue'
 
-const { Layout } = DefaultTheme
+const { Layout } = Theme
 </script>
 
 <template>

+ 3 - 3
docs/.vitepress/theme/index.ts

@@ -1,7 +1,7 @@
 import 'uno.css'
 
 // .vitepress/theme/index.ts
-import DefaultTheme from 'vitepress/theme'
+import Theme from 'vitepress/theme'
 import './config.css'
 
 import TresLayout from './TresLayout.vue'
@@ -18,10 +18,10 @@ import TresLayout from './TresLayout.vue'
 }) */
 
 export default {
-  ...DefaultTheme,
+  ...Theme,
 
   enhanceApp(ctx) {
-    DefaultTheme.enhanceApp(ctx)
+    Theme.enhanceApp(ctx)
     /* ctx.app.use(plausible) */
   },
   Layout: TresLayout,