chore(init): avoid showing site data to avoid confusion

close #2051
pull/2059/head
Evan You 2 years ago
parent 3690714a32
commit 00aafb52bb

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

Loading…
Cancel
Save