This project is a starter template for building a React application using Vite and TypeScript.
- React: Build interactive UIs.
- Vite: Fast build tool for modern web projects.
- TypeScript: Static typing for robust development.
- Node.js (>= 16.x)
- npm (>= 8.x) or Yarn
-
Clone the repository:
git clone https://github.com/zainwaseem/react-ts-starter-.git cd react-ts-starter-
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
The app will be available at
http://localhost:5173
. -
Build for production:
npm run build
-
Preview the production build:
npm run preview
src
: Contains application code.components
: Reusable UI components.assets
: Static assets like images.styles
: Global styles.