Files
lifeforge/apps/docs
Melvin Chia 7d9b78de2b feat: add custom styling for h4 and img components in MDXComponents
Former-commit-id: 0bdf280c935499bb51348bbdfe2848953c98b6f8 [formerly 4b2372901989ed51ebf098fd0811d0c614c28546] [formerly bc324e6cfd955cad75d0149c8de1540fc3c918e6 [formerly 78cd1c88880cd3d0e175d1502e818f201953b7bb]]
Former-commit-id: 8a3d4db8b136f7a82e6596b305e61643a07cf514 [formerly d58f8f658d7ada85d0781d1f8d91e0c571433bbe]
Former-commit-id: f055b94fb95ffb0b9beea4adf4908c50741dfc9d
2025-08-22 21:38:07 +08:00
..
2025-07-21 06:19:36 +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: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