Skip to content

Update README.md #1150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 68 additions & 12 deletions framework-boilerplates/vite-react/README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,77 @@
# React + TypeScript + Vite
import { Card, CardContent } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Separator } from "@/components/ui/separator"; import { Sparkles } from "lucide-react"; import Image from "next/image";

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
export default function HomePage() { return ( <div className="p-6 max-w-5xl mx-auto"> <header className="text-center space-y-4"> <h1 className="text-4xl font-bold tracking-tight"> Bling Bras & Custom Creations by Robin </h1> <p className="text-lg text-muted-foreground"> One-of-a-kind rhinestone bras, custom apparel, bling accessories & more. </p> <Button className="mt-4 text-base px-6 py-2">Shop Collection</Button> </header>

While this project uses React, Vite supports many popular JS frameworks. [See all the supported frameworks](https://vitejs.dev/guide/#scaffolding-your-first-vite-project).
<Separator className="my-8" />

## Deploy Your Own
<section className="grid grid-cols-1 md:grid-cols-3 gap-6">
<Card>
<CardContent className="p-4 space-y-2">
<Image
src="/images/bling-bra.jpg"
alt="Bling Bra"
width={400}
height={300}
className="rounded-xl object-cover"
/>
<h2 className="font-semibold text-xl">Custom Bling Bras</h2>
<p className="text-muted-foreground text-sm">
Designed to dazzle. Choose your color, size, and bling level.
</p>
<Button variant="outline">Customize Yours</Button>
</CardContent>
</Card>

Deploy your own Vite project with Vercel.
<Card>
<CardContent className="p-4 space-y-2">
<Image
src="/images/custom-jackets.jpg"
alt="Custom Jackets"
width={400}
height={300}
className="rounded-xl object-cover"
/>
<h2 className="font-semibold text-xl">Custom Apparel</h2>
<p className="text-muted-foreground text-sm">
Hoodies, jackets, and tees with your name, slogan, or design.
</p>
<Button variant="outline">Explore Styles</Button>
</CardContent>
</Card>

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/examples/tree/main/framework-boilerplates/vite-react&template=vite-react)
<Card>
<CardContent className="p-4 space-y-2">
<Image
src="/images/bling-accessories.jpg"
alt="Accessories"
width={400}
height={300}
className="rounded-xl object-cover"
/>
<h2 className="font-semibold text-xl">Bling Accessories</h2>
<p className="text-muted-foreground text-sm">
Custom cups, bags, and headwear to complete your look.
</p>
<Button variant="outline">See All</Button>
</CardContent>
</Card>
</section>

_Live Example: https://vite-react-example.vercel.app_
<Separator className="my-8" />

### Deploying From Your Terminal
<section className="text-center space-y-4">
<h2 className="text-2xl font-semibold">Need Something Extra Custom?</h2>
<p className="text-muted-foreground max-w-xl mx-auto">
Submit your idea and let’s make it sparkle. From full event outfits to custom gift bundles.
</p>
<div className="flex justify-center gap-2">
<Input placeholder="Your email" className="max-w-xs" />
<Button className="flex items-center gap-2">
<Sparkles className="w-4 h-4" /> Request a Custom Design
</Button>
</div>
</section>
</div>

You can deploy your new Vite project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
); }

```shell
$ vercel
```