fix: correct useData import path for VitePress compatibility
This commit is contained in:
parent
ecb29e0aa4
commit
9ee7704b03
@ -332,7 +332,7 @@ Check /health</pre>
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, onMounted, onUnmounted } from 'vue'
|
import { ref, onMounted, onUnmounted } from 'vue'
|
||||||
import { useData } from 'vitepress/data'
|
import { useData } from 'vitepress'
|
||||||
|
|
||||||
const { isDark } = useData()
|
const { isDark } = useData()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user