Skip to content

Commit

Permalink
feat(theme): export VPImage (#2814)
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Aug 18, 2023
1 parent 41ab96a commit f242140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/client/theme-default/without-fonts.ts
Expand Up @@ -14,6 +14,7 @@ import Layout from './Layout.vue'
// Note: if we add more optional components here, i.e. components that are not
// used in the theme by default unless the user imports them, make sure to update
// the `lazyDefaultThemeComponentsRE` regex in src/node/build/bundle.ts.
export { default as VPImage } from './components/VPImage.vue'
export { default as VPButton } from './components/VPButton.vue'
export { default as VPHomeHero } from './components/VPHomeHero.vue'
export { default as VPHomeFeatures } from './components/VPHomeFeatures.vue'
Expand Down
1 change: 1 addition & 0 deletions theme.d.ts
Expand Up @@ -3,6 +3,7 @@ import type { DefineComponent } from 'vue'
import { EnhanceAppContext } from './dist/client/index.js'

// TODO: add props for these
export const VPImage: DefineComponent
export const VPButton: DefineComponent
export const VPHomeHero: DefineComponent
export const VPHomeFeatures: DefineComponent
Expand Down

0 comments on commit f242140

Please sign in to comment.