mirror of
https://github.com/Lifeforge-app/lifeforge.git
synced 2026-07-01 08:16:35 +00:00
dfca82db04119204cdcc95f42c1f3bd2af0ac666
Former-commit-id: 13d14d1be55b13ee093152761525d6c653346f7e [formerly bd7fa26e477ed6ec6f29264b334234a524e817b6] [formerly f8f03c336ee607a40d9cb199b6d678d7e06f2ed0 [formerly 8a6ab981fd8b2f9cb0ea32c09cebdea19da700f9]] Former-commit-id: 541311e8af601763e6f837005b7d8d0041d828a8 [formerly dbd731371e8f5903020485a2f53e2c102283f3ec] Former-commit-id: e0af0ac7a35bb0400722e54588bf62bacb3a888c
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%