Go to file
=bhagwanSingh ee6160ff71 a 2025-08-20 12:41:37 +05:30
public SME Web - 27-06-2025 2025-06-27 16:09:44 +05:30
src a 2025-08-20 12:41:37 +05:30
.env SME Web - 27-06-2025 2025-06-27 16:09:44 +05:30
.gitignore Ignore node 2025-08-14 17:27:40 +05:30
README.md SME Web - 27-06-2025 2025-06-27 16:09:44 +05:30
constants_api.json SME Web - 27-06-2025 2025-06-27 16:09:44 +05:30
eslint.config.js SME Web - 27-06-2025 2025-06-27 16:09:44 +05:30
index.html SME Web - 27-06-2025 2025-06-27 16:09:44 +05:30
package-lock.json Added Tour 2025-07-29 16:38:32 +05:30
package.json Added Tour 2025-07-29 16:38:32 +05:30
test.html SME Web - 27-06-2025 2025-06-27 16:09:44 +05:30
tsconfig.app.json SME Web - 27-06-2025 2025-06-27 16:09:44 +05:30
tsconfig.json SME Web - 27-06-2025 2025-06-27 16:09:44 +05:30
tsconfig.node.json SME Web - 27-06-2025 2025-06-27 16:09:44 +05:30
vite.config.ts Your descriptive commit message here 2025-07-15 15:31:44 +05:30

README.md

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,
  },
})