No description
  • TypeScript 93.7%
  • CSS 6%
  • JavaScript 0.2%
Find a file
2025-12-25 20:54:16 +01:00
.beads bd sync: 2025-12-25 20:54:16 2025-12-25 20:54:16 +01:00
.claude chore(beads): update interactions and settings 2025-12-24 15:08:24 +01:00
public Initial project setup: Vite + React + TypeScript 2025-12-21 23:07:19 +01:00
src feat(property-panel): add Enter key handler to close panel 2025-12-24 16:01:02 +01:00
.env.example feat(formulas): integrate OpenRouteService routing and Nominatim geocoding APIs 2025-12-23 22:42:02 +01:00
.gitattributes Initial project setup: Vite + React + TypeScript 2025-12-21 23:07:19 +01:00
.gitignore feat(weather): integrate OpenWeatherMap API with async formula support 2025-12-23 21:41:08 +01:00
.prettierrc Initial project setup: Vite + React + TypeScript 2025-12-21 23:07:19 +01:00
CLAUDE.md feat(outline): implement core OutlineNode data model 2025-12-22 00:17:56 +01:00
eslint.config.js Initial project setup: Vite + React + TypeScript 2025-12-21 23:07:19 +01:00
index.html Initial project setup: Vite + React + TypeScript 2025-12-21 23:07:19 +01:00
LICENSE Initial project setup: Vite + React + TypeScript 2025-12-21 23:07:19 +01:00
package-lock.json feat(history): implement undo/redo and markdown export 2025-12-23 20:28:48 +01:00
package.json feat(history): implement undo/redo and markdown export 2025-12-23 20:28:48 +01:00
README.md Initial project setup: Vite + React + TypeScript 2025-12-21 23:07:19 +01:00
TEST_SUITE_SUMMARY.md test(store): fix all 23 document store test failures 2025-12-22 14:31:19 +01:00
tsconfig.app.json Initial project setup: Vite + React + TypeScript 2025-12-21 23:07:19 +01:00
tsconfig.json Initial project setup: Vite + React + TypeScript 2025-12-21 23:07:19 +01:00
tsconfig.node.json Initial project setup: Vite + React + TypeScript 2025-12-21 23:07:19 +01:00
vite.config.ts chore: commit leftovers :/ 2025-12-22 23:32:24 +01: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:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])