diff --git a/docs/guide/theme-introduction.md b/docs/guide/theme-introduction.md index f2ef177464d3..4e76c10e1871 100644 --- a/docs/guide/theme-introduction.md +++ b/docs/guide/theme-introduction.md @@ -182,6 +182,7 @@ Or you could use render function as well. ```js // .vitepress/theme/index.js +import { h } from 'vue' import DefaultTheme from 'vitepress/theme' import MyComponent from './MyComponent.vue'