coai/app
2023-09-13 21:56:25 +08:00
..
public update pwa and docs 2023-09-08 11:00:07 +08:00
src fix file double click and file format 2023-09-13 21:56:25 +08:00
.eslintrc.cjs v2 moved 2023-09-06 11:21:10 +08:00
.gitignore add thread limit 2023-09-08 12:08:57 +08:00
.prettierrc.json v2 moved 2023-09-06 11:21:10 +08:00
components.json v2 moved 2023-09-06 11:21:10 +08:00
index.html add file upload feature and table 2023-09-13 20:12:02 +08:00
package.json add file upload feature and table 2023-09-13 20:12:02 +08:00
pnpm-lock.yaml add file upload feature and table 2023-09-13 20:12:02 +08:00
postcss.config.js v2 moved 2023-09-06 11:21:10 +08:00
qodana.yaml v2 moved 2023-09-06 11:21:10 +08:00
README.md v2 moved 2023-09-06 11:21:10 +08:00
tailwind.config.js v2 moved 2023-09-06 11:21:10 +08:00
tsconfig.json v2 moved 2023-09-06 11:21:10 +08:00
tsconfig.node.json v2 moved 2023-09-06 11:21:10 +08:00
vite.config.ts add latex support and markdown highlight async build 2023-09-12 17:03:51 +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:
   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