This repository provides a boilerplate template for a React application using the Shadcn-UI library and Vite as the build tool and development server. The template is designed to help you kickstart your React projects with Shadcn-UI and Vite, offering a fast development environment and optimized production builds.
- React 18 with the latest features and optimizations
- Shadcn-UI integration for a modern and customizable UI component library
- Vite for fast development and optimized production builds
- ESLint and Prettier preconfigured for consistent code formatting and linting
-
Clone this repository:
git clone https://github.com/Youngermaster/react-shadcn-ui-template.git your-project-name
-
Change to the project directory:
cd your-project-name
-
Install the dependencies:
npm install
-
Start the development server:
npm run dev
The development server should now be running at http://localhost:3000.
To create an optimized production build, run:
npm run build
The output will be available in the dist/
folder.
You can customize the template by modifying the existing components or adding new ones in the src
folder. You can also configure the Vite settings by editing the vite.config.js
file.
For more information on Shadcn-UI, please refer to the official documentation.
Contributions are welcome! If you have any suggestions, improvements, or bug fixes, please feel free to submit a pull request or create an issue.
This project is licensed under the MIT License.