2026-02-22 18:49:42 +03:30
2026-04-12 11:35:57 +03:30
2026-04-15 10:55:04 +03:30
2026-04-13 16:32:38 +03:30
2026-04-06 02:42:33 +03:30
2025-07-20 04:08:36 +08:00
2025-07-20 04:08:36 +08:00
2026-02-21 19:16:14 +03:30
2026-04-15 17:22:08 +03:30
2026-04-13 16:32:38 +03:30
2026-04-13 16:36:55 +03:30
2026-04-13 16:32:38 +03:30
2025-07-20 04:08:36 +08:00
2025-11-26 20:31:17 +03:30
2025-07-20 04:08:36 +08:00
2026-04-12 10:17:29 +03:30

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:
export default tseslint.config({
  languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
  },
})
  • Replace tseslint.configs.recommended to tseslint.configs.recommendedTypeChecked or tseslint.configs.strictTypeChecked
  • Optionally add ...tseslint.configs.stylisticTypeChecked
  • Install eslint-plugin-react and update the config:
// eslint.config.js
import react from 'eslint-plugin-react'

export default tseslint.config({
  // Set the react version
  settings: { react: { version: '18.3' } },
  plugins: {
    // Add the react plugin
    react,
  },
  rules: {
    // other rules...
    // Enable its recommended rules
    ...react.configs.recommended.rules,
    ...react.configs['jsx-runtime'].rules,
  },
})
Description
No description provided
Readme 992 MiB
Languages
TypeScript 95.4%
HTML 2.2%
JavaScript 1.2%
CSS 1.2%