mirror of
https://github.com/Lifeforge-app/lifeforge.git
synced 2026-06-28 06:46:24 +00:00
32fac56a1e2ee2ae221d18b9b14f051d39f50f19
Former-commit-id: f6f3eb6b6e16f3718d8c5618b7c4f0a6a5e965d8 [formerly 9f5e342c44e60cb44f1fd6b1541bc32548089387] [formerly 25005aaffe965b4605091473d8771244dfbd1dcb [formerly 687648a8c8da5ada5bc052999eb78de3c8b79ce4]] Former-commit-id: 1649a617df2f8d1cc5e9fd338931af1f32e2d42f [formerly b915698b290d0e3182b8808a09148552bdea3332] Former-commit-id: 2da786d5fae1a22884441aee6e695d90db9d18bf
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 {
// other rules...
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
}
- Replace
plugin:@typescript-eslint/recommendedtoplugin:@typescript-eslint/recommended-type-checkedorplugin:@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-runtimeto theextendslist
Description
No description provided
achievement-managementcalendarcode-time-trackingfinance-managementidea-boxjournalingmodular-designmusic-librarynote-takingpassword-managerpersonal-managementphotos-managementproductivity-toolsproject-trackingrepositories-managementself-hostedtasg-managementtodo-list
Readme
CC-BY-SA-4.0
165 MiB
Languages
TypeScript
97.3%
CSS
1.7%
Dockerfile
0.4%
Shell
0.3%
HTML
0.2%
Other
0.1%