This repository serves as a template for kickstarting projects using Vite, React, React Router DOM, Tailwind CSS and Shadcn. The template includes pre-configured routes and basic pages to help you quickly set up and start building your application.
Make sure you have the following installed on your machine:
Create a new folder for your project and navigate into it (Replace
mkdir <Your-Project-Name> && cd <Your-Project-Name>
Clone the repository:
git clone https://github.com/ARK018/React-Tailwind-Shadcn-Template.git
Install dependencies:
npm install
or
npm i
Remove the Existing Git Repository if you want to create a new one. (Optional):
rm -rf .git
Start the development server:
npm run dev
Open your browser and navigate to http://localhost:5173
to see the application in action.
npm run dev
: Start the development server.npm run build
: Build the application for production.npm run preview
: Preview the production build.The project uses React Router DOM
for routing. You can easily add new routes by creating new components in the pages
folder and updating the App.jsx
file.
/
/signin
Tailwind CSS is pre-configured in the project. You can start using utility classes directly in your components. The index.css
file includes the necessary setup.