feat(templates): add Vite Shadcn starter template
Introduce a new starter template for Vite with shadcn/ui integration. The template includes React, TypeScript, and Tailwind, and is added to the STARTER_TEMPLATES list. Additionally, update the styling in StarterTemplates component to better accommodate the new template and add the shadcn.svg icon.
This commit is contained in:
@@ -25,7 +25,7 @@ const StarterTemplates: React.FC = () => {
|
||||
<div className="flex flex-col items-center gap-4">
|
||||
<span className="text-sm text-gray-500">or start a blank app with your favorite stack</span>
|
||||
<div className="flex justify-center">
|
||||
<div className="flex w-70 flex-wrap items-center justify-center gap-4">
|
||||
<div className="flex flex-wrap justify-center items-center gap-4 max-w-sm">
|
||||
{STARTER_TEMPLATES.map((template) => (
|
||||
<FrameworkLink key={template.name} template={template} />
|
||||
))}
|
||||
|
||||
@@ -49,6 +49,14 @@ export const STARTER_TEMPLATES: Template[] = [
|
||||
tags: ['nextjs', 'react', 'typescript', 'shadcn', 'tailwind'],
|
||||
icon: 'i-bolt:nextjs',
|
||||
},
|
||||
{
|
||||
name: 'Vite Shadcn',
|
||||
label: 'Vite with shadcn/ui',
|
||||
description: 'Vite starter fullstack template integrated with shadcn/ui components and styling system',
|
||||
githubRepo: 'xKevIsDev/vite-shadcn',
|
||||
tags: ['vite', 'react', 'typescript', 'shadcn', 'tailwind'],
|
||||
icon: 'i-bolt:shadcn',
|
||||
},
|
||||
{
|
||||
name: 'Qwik Typescript',
|
||||
label: 'Qwik TypeScript',
|
||||
|
||||
Reference in New Issue
Block a user