VitePress Runtime API
The VitePress Runtime API provides Vue composition functions and helper utilities for use in custom themes, Vue components, and Markdown pages. Key composables include useData() for accessing site and page metadata, useRoute() for current route information, useRouter() for programmatic navigation, and withBase() for base URL resolution. Components include Content for rendering compiled Markdown and ClientOnly for browser-only rendering.