A modern web application template using React, TypeScript, Vite, shadcn/ui components, and Tailwind CSS.
This template includes:
- Vite - Next-generation frontend tooling
- React - A JavaScript library for building user interfaces
- TypeScript - JavaScript with syntax for types
- shadcn/ui - Re-usable components built with Radix UI and Tailwind CSS
- Tailwind CSS - A utility-first CSS framework
Use GitHub's template feature to create your project:
- Click the "Use this template" button above
- Select "Create a new repository"
- Choose your repository name and settings
- Click "Create repository from template"
If you prefer to start manually:
# Clone the template repository
git clone https://github.com/bobby-io/react-vite-shadcn-template
cd react-vite-shadcn-template
# Remove the existing git history
rm -rf .git
# Initialize as a fresh git repository
git init- Install dependencies:
npm install- Start the development server:
npm run devThis will give you a fresh start with your own repository while maintaining all the template's features and configurations.
- Run development server:
npm run dev - Build for production:
npm run build - Preview production build:
npm run preview
- Update the configuration in
vite.config.tsto customize your build - Modify theme settings in
tailwind.config.js - Add or modify components in the
src/componentsdirectory - Update global styles in
src/index.css
This template can be deployed to various platforms:
- Vercel
- Netlify
- GitHub Pages
- Any other platform that supports static site hosting