This is an e-commerce UI template built using React, Vite, Tailwind CSS, Swiper, and TypeScript. The project is designed to provide a scalable and responsive starting point for e-commerce applications, with modern UI components and a clean architecture.
To run this project locally, follow these steps:
Clone the repository:
git clone https://github.com/Resvan/3legant.git
Navigate to the project directory:
cd 3legant
Install dependencies:
npm install
Run the development server:
npm run dev
The project should now be running at http://localhost:3000
.
├── public # Static assets
├── src
│ ├── assets # Images, icons, fonts, etc.
│ ├── components # Reusable UI components
│ ├── pages # Page-level components
│ ├── styles # Global and component-specific styles
│ └── utils # Utility functions and helpers
├── App.tsx # Main application component
├── main.tsx # Entry point for the app
├── index.html # HTML template
├── tailwind.config.js # Tailwind CSS configuration
├── tsconfig.json # TypeScript configuration
└── vite.config.ts # Vite configuration
Development Mode: To start the development server, run:
npm run dev
Build for Production:
To create a production build, run:
npm run build
The output will be generated in the dist
folder.
Preview Production Build:
After building, you can preview the production build locally:
npm run preview
tailwind.config.js
or add custom styles to src/styles
.src/components
directory to fit your requirements.src/components
to adjust the behavior or styling as needed.Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.