1.20.20 • Published 1 year ago
components-react-mui-kit v1.20.20
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:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
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
parserOptionsproperty like this:
export default tseslint.config({
languageOptions: {
// other options...
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
},
})- Replace
tseslint.configs.recommendedtotseslint.configs.recommendedTypeCheckedortseslint.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,
},
})1.17.19
1 year ago
1.15.19
1 year ago
1.13.19
1 year ago
1.19.19
1 year ago
1.11.19
1 year ago
1.19.20
1 year ago
1.20.20
1 year ago
1.14.19
1 year ago
1.16.19
1 year ago
1.10.19
1 year ago
1.12.19
1 year ago
1.10.18
1 year ago
1.10.17
1 year ago
1.10.15
2 years ago
1.10.16
2 years ago
1.10.14
2 years ago
1.10.13
2 years ago
1.10.12
2 years ago
1.9.12
2 years ago
1.9.11
2 years ago
1.9.10
2 years ago
1.9.9
2 years ago
1.9.8
2 years ago
1.9.7
2 years ago
1.9.6
2 years ago
1.9.5
2 years ago
1.9.4
2 years ago
1.9.3
2 years ago
1.9.2
2 years ago
1.9.1
2 years ago
1.8.1
2 years ago
1.7.1
2 years ago
1.6.1
2 years ago
1.5.1
2 years ago
1.4.1
3 years ago
1.2.0
3 years ago
1.1.0
3 years ago
1.4.0
3 years ago
1.3.0
3 years ago
1.0.0
3 years ago
0.0.2
3 years ago