Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

iamzehan/Vite-React-Template

Repository files navigation

Vite + React Template with React-Testing-Library

This template contains

  1. Tailwind CSS
  2. ReactJS with Typescript (includes Router)
  3. Vite Tooling
  4. Complete Test Setup for React
  5. Comes with Material UI

1. Clone this repository

git clone https://github.com/iamzehan/Vite-React-Template.git

Important: Remove the origin

git remote rm origin

2. Install all packages

📁where the package.json resides, run -

npm install

3. Run the development server

npm run dev

4. Run the build

npm run build

5. Run the test

npm run test

Good to know the following

  • 📁./dist contains your builds
  • 📁./.vscode contains workspace settings for tailwindcss intellisense.
  • 📁./src contains all the project code.
  • 📁./src/index.css is the main css file
  • 📁./index.html is the main html file that has a div#root container. 🗒️./src/main.tsx uses it to wrap all components that reside within our 🗒️./src/App.tsx, <App/> component.

Technologies