This project is a front-end application for a Nike landing page built using React and Vite. It includes hot module replacement (HMR) and is configured with ESLint for code linting.
- React: A JavaScript library for building user interfaces.
- Vite: A fast development build tool and development server.
- Tailwind CSS: A utility-first CSS framework for styling.
- ESLint: A static code analysis tool for identifying problematic patterns found in JavaScript code.
- react: ^18.3.1
- react-dom: ^18.3.1
- @types/react: ^18.3.3
- @types/react-dom: ^18.3.0
- @vitejs/plugin-react-swc: ^3.5.0
- autoprefixer: ^10.4.19
- eslint: ^8.57.0
- eslint-plugin-react: ^7.34.2
- eslint-plugin-react-hooks: ^4.6.2
- eslint-plugin-react-refresh: ^0.4.7
- postcss: ^8.4.39
- tailwindcss: ^3.4.4
- vite: ^5.3.1
Make sure you have Node.js installed.
-
Clone the repository:
git clone https://github.com/AMAN081118/nike.git
-
Install dependencies:
npm install
-
Run development server:
npm run dev
-
Build for production:
npm run build
-
Preview production build:
npm run preview
-
Linting:
npm run lint
src/: Source directory for React components and stylespublic/: Public directory for static assetspackage.json: Project configuration and dependency manager
- Fork the repository and use a feature branch for contributions
- Pull requests are welcome
This project is open source.