Skip to content

Commit f242140

Browse files
authoredAug 18, 2023
feat(theme): export VPImage (#2814)
1 parent 41ab96a commit f242140

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎src/client/theme-default/without-fonts.ts

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import Layout from './Layout.vue'
1414
// Note: if we add more optional components here, i.e. components that are not
1515
// used in the theme by default unless the user imports them, make sure to update
1616
// the `lazyDefaultThemeComponentsRE` regex in src/node/build/bundle.ts.
17+
export { default as VPImage } from './components/VPImage.vue'
1718
export { default as VPButton } from './components/VPButton.vue'
1819
export { default as VPHomeHero } from './components/VPHomeHero.vue'
1920
export { default as VPHomeFeatures } from './components/VPHomeFeatures.vue'

‎theme.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { DefineComponent } from 'vue'
33
import { EnhanceAppContext } from './dist/client/index.js'
44

55
// TODO: add props for these
6+
export const VPImage: DefineComponent
67
export const VPButton: DefineComponent
78
export const VPHomeHero: DefineComponent
89
export const VPHomeFeatures: DefineComponent

0 commit comments

Comments
 (0)
Please sign in to comment.