This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Ensure you have the following installed on your system:
- Install dependencies:
or
npm install
yarn install
Start the development server with the following command:
npm run dev
or
yarn dev
The application will be available at http://localhost:5173
.
To create a production build, run:
npm run build
or
yarn build
The build artifacts will be stored in the dist
directory.
The project structure is as follows:
├── public/ # Static assets
├── src/ # Source code
│ ├── assets/ # Images, styles, etc.
│ ├── components/ # React common components
│ ├── handler/ # React api call
│ ├── pages/ # Pages in application
│ ├── pages/ # Styleing File
│ ├── utils/ # Common function.
│ ├── handler/ # Common function.
│ ├── App.jsx # Main application component
│ └── main.jsx # Entry point
├── package.json # Project metadata and dependencies
└── vite.config.js # Vite configuration