Skip to content

Commit e996282

Browse files
authored
Merge pull request #257 from storybookjs/shilman/add-preact-to-frameworks
Add Preact to homepage frameworks
2 parents ee165d0 + f6d2f1e commit e996282

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

apps/frontpage/components/docs/mdx/home-renderers.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ export function HomeRenderers({ activeVersion }: HomeRenderersProps) {
8686
subtitle="with Webpack"
8787
title="Web Components"
8888
/>
89+
{Number(activeVersion.id) >= 8.5 ? (
90+
<Card
91+
href="/docs/get-started/frameworks/preact-vite/?renderer=preact"
92+
logo="logo-preact.svg"
93+
subtitle="with Vite"
94+
title="Preact"
95+
/>
96+
) : null}
8997
</div>
9098
);
9199
}

0 commit comments

Comments
 (0)