-
I wasn’t able to find this in the docs, although I believe it’s mentioned somewhere that you can add and rewrite components. Right now, when I add I’m trying to create custom theme. |
Beta Was this translation helpful? Give feedback.
Answered by
kermanx
May 24, 2024
Replies: 1 comment 3 replies
-
What if changing the name of the component to Also, you can do this in your slide to import a component explicitly, in case auto-import doesn't work: <script setup>
import YourComponent from './components/H1.vue'
</script>
<YourComponent /> |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't think overriding
h1
is possible...h1
is an intrinsic element rather than a component. You can wrap<h1>
manually in every slide or use CSS only instead. Also you can use pre-parser to transform# ABCD
into the following code: