Ultimate YouTube frontend
Find a file
2023-08-09 18:54:05 +03:00
.github/workflows doc: deploy pages 2023-08-09 18:11:52 +03:00
public Initial commit 2023-08-08 18:30:37 +03:00
src feat: skeleton for videos 2023-08-09 18:54:05 +03:00
.eslintrc.cjs Initial commit 2023-08-08 18:30:37 +03:00
.gitattributes Initial commit 2023-08-08 18:30:37 +03:00
.gitignore Initial commit 2023-08-08 18:30:37 +03:00
index.html feat: skeleton for videos 2023-08-09 18:54:05 +03:00
LICENSE Initial commit 2023-08-08 18:30:37 +03:00
package-lock.json feat: video component and trending 2023-08-09 17:05:08 +03:00
package.json feat: video component and trending 2023-08-09 17:05:08 +03:00
postcss.config.js Initial commit 2023-08-08 18:30:37 +03:00
README.md Initial commit 2023-08-08 18:30:37 +03:00
tailwind.config.js Initial commit 2023-08-08 18:30:37 +03:00
tsconfig.json Initial commit 2023-08-08 18:30:37 +03:00
tsconfig.node.json Initial commit 2023-08-08 18:30:37 +03:00
vite.config.ts Initial commit 2023-08-08 18:30:37 +03:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
   parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
   },
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list