Cloudreve V3 的前端
Go to file
Aaron Liu b8b31fe6b8 feat(dbfs): set default share shortcut for new users 2025-05-23 15:33:33 +08:00
public feat(dbfs): set default share shortcut for new users 2025-05-23 15:33:33 +08:00
src feat(dbfs): set default share shortcut for new users 2025-05-23 15:33:33 +08:00
.gitignore Init V4 (#247) 2025-04-20 17:28:35 +08:00
.prettierrc Init V4 (#247) 2025-04-20 17:28:35 +08:00
README.md Init V4 (#247) 2025-04-20 17:28:35 +08:00
index.html feat(ui): change loader to mui-like style, and async load js and css (#250) 2025-04-24 15:04:00 +08:00
package-lock.json Init V4 (#247) 2025-04-20 17:28:35 +08:00
package.json feat(video player): support flv cloudreve/Cloudreve#2300 (#254) 2025-04-27 09:41:17 +08:00
tsconfig.json Init V4 (#247) 2025-04-20 17:28:35 +08:00
tsconfig.node.json Init V4 (#247) 2025-04-20 17:28:35 +08:00
vite.config.ts chore(vite): optmize small chunks for codemirror 2025-05-23 15:31:14 +08:00
yarn.lock feat(video player): support flv cloudreve/Cloudreve#2300 (#254) 2025-04-27 09:41:17 +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