Files
lifeforge/apps/docs
Melvin Chia 7da9ef1cac fix(docs): update import path for FormModal component in Forms documentation
Former-commit-id: dc8ade376161d3490210a90ba8f479f1c4fca325 [formerly c0aba1aef19925fbfc5cd5e1cf288f6595dcb0c3] [formerly 0e66b2c911659aea00b24ec6de308b8b0afbd0d3 [formerly 3996b4cbccb8822463045e2185427e4fd6240735]]
Former-commit-id: 09756a7848d797fe51efc89309e4705a701c5b21 [formerly 7d1e5dfebba56ef909b8d1adfbd0220fa105a12b]
Former-commit-id: 790e352098b5427748305dd9e576a17b8d73b10d
2025-08-24 20:29:52 +08:00
..
2025-07-21 06:19:36 +08:00
2025-07-21 06:47:01 +08:00
2025-07-21 06:19:36 +08:00
2025-07-21 06:47:01 +08:00

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 {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname
  }
}
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@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-runtime to the extends list