Cloudreve V3 的前端
Go to file
Darren Yu 8bba067340
feat(ui): change loader to mui-like style, and async load js and css (#250)
* fix (ui): async load js and css

currently, loader only appears when js and css load failed. this fix to show loading animation while js and css is loading.

* feat(ui): change loader to mui-like style
2025-04-24 15:04:00 +08:00
public Init V4 (#247) 2025-04-20 17:28:35 +08:00
src fix(ui): repeated autofocus cloudreve/Cloudreve#2285 (#249) 2025-04-23 19:27:10 +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 Init V4 (#247) 2025-04-20 17:28:35 +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(ui): change loader to mui-like style, and async load js and css (#250) 2025-04-24 15:04:00 +08:00
yarn.lock Init V4 (#247) 2025-04-20 17:28:35 +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