-
I'm trying to remove the div that is the immediate child in the Is this something that I can configure to remove at all? |
Beta Was this translation helpful? Give feedback.
Answered by
joshdales
Jun 21, 2025
Replies: 1 comment
-
I didn't figure out how to remove it completely but I figured out a decent enough work-around to create my own theme: <script setup>
import { useRoute } from 'vitepress'
const { route } useRoute()
</script>
<template>
<component :is="route.component" role="main" />
<template> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
joshdales
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I didn't figure out how to remove it completely but I figured out a decent enough work-around to create my own theme: