837390164@qq.com c0a77eac2e 提交更新 16 hours ago
..
docs a303233a09 提交更新 4 months ago
public 32528e0e46 feat: 更新前端接口调用结构,添加 session 支持 5 months ago
src c0a77eac2e 提交更新 16 hours ago
.env.development e673a19c43 提交更新 1 month ago
.env.production 151ab2778b 提交更新 2 months ago
.gitignore 32528e0e46 feat: 更新前端接口调用结构,添加 session 支持 5 months ago
Caddyfile e673a19c43 提交更新 1 month ago
DEPLOYMENT_CHECKLIST.md e673a19c43 提交更新 1 month ago
DEPLOYMENT_GUIDE.md e673a19c43 提交更新 1 month ago
NGINX_TROUBLESHOOTING.md e673a19c43 提交更新 1 month ago
README.md 32528e0e46 feat: 更新前端接口调用结构,添加 session 支持 5 months ago
dev.err e673a19c43 提交更新 1 month ago
dist.rar c0a77eac2e 提交更新 16 hours ago
esbuild_err.txt c0a77eac2e 提交更新 16 hours ago
eslint.config.js 32528e0e46 feat: 更新前端接口调用结构,添加 session 支持 5 months ago
index.html 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 5 months ago
nginx-simple.conf e673a19c43 提交更新 1 month ago
nginx.conf b0e74290a0 提交更新 1 month ago
package-lock.json 5acf3cb9d6 提交更新 3 months ago
package.json 5acf3cb9d6 提交更新 3 months ago
project.config.json 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 5 months ago
proxy-server.js e673a19c43 提交更新 1 month ago
serve.js 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 5 months ago
server.js e673a19c43 提交更新 1 month ago
tsc_check.txt c0a77eac2e 提交更新 16 hours ago
tsc_out.txt b411f0c405 提交更新 2 months ago
tsconfig.app.json 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 5 months ago
tsconfig.json 32528e0e46 feat: 更新前端接口调用结构,添加 session 支持 5 months ago
tsconfig.node.json 32528e0e46 feat: 更新前端接口调用结构,添加 session 支持 5 months ago
vite.config.ts e673a19c43 提交更新 1 month ago
启动开发服务器.bat 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 5 months ago
启动开发服务器.ps1 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 5 months ago
登录页面说明.md 084c51a83e feat: 自定义DRG分组查询功能完善与Bug修复 5 months ago

README.md

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...
    },
  },
])