This project is a responsive clone of the YouTube homepage interface, built using TypeScript, React, and YouTube data. Also, the project includes a responsive navbar, which adapts to different screen sizes and devices.
To run this project on your local machine, follow these steps:
Clone the repository:
git clone https://github.com/maalcantara/youtube-clone.git
cd youtube-clone
Install dependencies and start the development server:
npm install
npm install autoprefixer
npm i class-variance-authority tailwind-merge
npm install lucide-react
npm run dev
Open your web browser and navigate to http://localhost:xxxx to see the project in action.
This project utilizes Vite for a fast and efficient development setup. You can learn more about Vite at https://vitejs.dev/.
Tailwind CSS is used for styling and is a highly configurable utility-first CSS framework. For more information about Tailwind CSS, visit https://tailwindcss.com/.
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
parserOptions
property like this: parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
plugin:@typescript-eslint/recommended
to plugin:@typescript-eslint/recommended-type-checked
or plugin:@typescript-eslint/strict-type-checked
plugin:@typescript-eslint/stylistic-type-checked
plugin:react/recommended
& plugin:react/jsx-runtime
to the extends
list