Cloudreve V3 的前端
Go to file
WittF bd2ddef152 fix(music player): allow manual track navigation in single repeat mode 2025-10-28 15:45:14 +00:00
.husky chore: husky hook for eslint and prettier 2025-06-22 11:09:43 +08:00
public feat(music player): add play once mode to stop after track ends (#2992) (#315) 2025-10-28 09:35:30 +08:00
src fix(music player): allow manual track navigation in single repeat mode 2025-10-28 15:45:14 +00:00
.gitignore Init V4 (#247) 2025-04-20 17:28:35 +08:00
.prettierignore chore: husky hook for eslint and prettier 2025-06-22 11:09:43 +08:00
.prettierrc chore: husky hook for eslint and prettier 2025-06-22 11:09:43 +08:00
README.md Init V4 (#247) 2025-04-20 17:28:35 +08:00
eslint.config.js chore: husky hook for eslint and prettier 2025-06-22 11:09:43 +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: file blob encryption 2025-10-21 14:53:49 +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 feat(media meta): add Mapbox as a map provider option (#2922) 2025-09-27 10:19:20 +08:00
yarn.lock feat: file blob encryption 2025-10-21 14:53:49 +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