|
|
@ -12,14 +12,11 @@ The main `useData()` API can be used to access site, theme, and page data for th
|
|
|
|
<script setup>
|
|
|
|
<script setup>
|
|
|
|
import { useData } from 'vitepress'
|
|
|
|
import { useData } from 'vitepress'
|
|
|
|
|
|
|
|
|
|
|
|
const { site, theme, page, frontmatter } = useData()
|
|
|
|
const { theme, page, frontmatter } = useData()
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
## Results
|
|
|
|
## Results
|
|
|
|
|
|
|
|
|
|
|
|
### Site Data
|
|
|
|
|
|
|
|
<pre>{{ site }}</pre>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Theme Data
|
|
|
|
### Theme Data
|
|
|
|
<pre>{{ theme }}</pre>
|
|
|
|
<pre>{{ theme }}</pre>
|
|
|
|
|
|
|
|
|
|
|
@ -38,9 +35,6 @@ const { site, theme, page, frontmatter } = useData()
|
|
|
|
|
|
|
|
|
|
|
|
## Results
|
|
|
|
## Results
|
|
|
|
|
|
|
|
|
|
|
|
### Site Data
|
|
|
|
|
|
|
|
<pre>{{ site }}</pre>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Theme Data
|
|
|
|
### Theme Data
|
|
|
|
<pre>{{ theme }}</pre>
|
|
|
|
<pre>{{ theme }}</pre>
|
|
|
|
|
|
|
|
|
|
|
|