From e0659b918797f0fa34a047cef7b75496cab33194 Mon Sep 17 00:00:00 2001 From: Florian Sattler <65666934+florian-sattler@users.noreply.github.com> Date: Tue, 12 Nov 2024 10:49:53 +0100 Subject: [PATCH 1/2] feat(theme): expose VPFeatures close #4355 --- src/client/theme-default/without-fonts.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/theme-default/without-fonts.ts b/src/client/theme-default/without-fonts.ts index 226ae1e3b7bc..7c7649ec1b41 100644 --- a/src/client/theme-default/without-fonts.ts +++ b/src/client/theme-default/without-fonts.ts @@ -15,6 +15,7 @@ import Layout from './Layout.vue' export { default as VPBadge } from './components/VPBadge.vue' export { default as VPImage } from './components/VPImage.vue' export { default as VPButton } from './components/VPButton.vue' +export { default as VPFeatures } from './components/VPFeatures.vue' export { default as VPHomeContent } from './components/VPHomeContent.vue' export { default as VPHomeHero } from './components/VPHomeHero.vue' export { default as VPHomeFeatures } from './components/VPHomeFeatures.vue' From 26af14d0a194049c572de0c8b2f8be0c4ef24b70 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Thu, 9 Jan 2025 21:39:29 +0530 Subject: [PATCH 2/2] add types too --- theme.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/theme.d.ts b/theme.d.ts index 2fb33f05070d..06f7e6a93116 100644 --- a/theme.d.ts +++ b/theme.d.ts @@ -19,6 +19,7 @@ export declare const useLocalNav: () => DefaultTheme.DocLocalNav export declare const VPBadge: DefineComponent export declare const VPButton: DefineComponent export declare const VPDocAsideSponsors: DefineComponent +export declare const VPFeatures: DefineComponent export declare const VPHomeContent: DefineComponent export declare const VPHomeFeatures: DefineComponent export declare const VPHomeHero: DefineComponent