Files
lifeforge/apps/docs
Melvin Chia b0b5c38592 feat(docs): improve styling for Note and Warning components
Former-commit-id: 511cd51dba90d995c6350d63f78ae0f9e3faa82c [formerly 3c0dabe0accf3609daaed61cdca1efab6566c898] [formerly 34b84f106f017e24d2861b3ab86c50c3bf841ddd [formerly 9e9c38a8f9f75976c9016bfccf1a8155732f905a]]
Former-commit-id: 51daf00d5a31bbb62343bc2e361527c4846da3c4 [formerly a8e6c77e5651424a1bca15d375e639d4deb5c83b]
Former-commit-id: 65b781928735aa976b620fa04457762bbb26601b
2025-09-08 12:56:30 +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