异音项目

wzg 61e498dd0a feat(audio): 优化部门树搜索功能并修复相关问题 hai 3 meses
public 6f48dd51b5 build: 初始化项目配置和基本结构 hai 5 meses
src 61e498dd0a feat(audio): 优化部门树搜索功能并修复相关问题 hai 3 meses
.env f1d71c17ca feat(audio): 增加音频模块场站权限控制 hai 4 meses
.gitignore 6f48dd51b5 build: 初始化项目配置和基本结构 hai 5 meses
README.md d7670f66a6 创建项目 hai 6 meses
eslint.config.js d7670f66a6 创建项目 hai 6 meses
index.html 6f48dd51b5 build: 初始化项目配置和基本结构 hai 5 meses
package.json f1d71c17ca feat(audio): 增加音频模块场站权限控制 hai 4 meses
tsconfig.app.json d7670f66a6 创建项目 hai 6 meses
tsconfig.json f1d71c17ca feat(audio): 增加音频模块场站权限控制 hai 4 meses
tsconfig.node.json f1d71c17ca feat(audio): 增加音频模块场站权限控制 hai 4 meses
vite.center.config.ts f1d71c17ca feat(audio): 增加音频模块场站权限控制 hai 4 meses
vite.config.ts 22dd86ba93 build(vite): 优化代码构建并修改代理端口 hai 3 meses
vite.edge.config.ts f1d71c17ca feat(audio): 增加音频模块场站权限控制 hai 4 meses

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:

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 tseslint.config({
  languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
  },
})
  • Replace tseslint.configs.recommended to tseslint.configs.recommendedTypeChecked or tseslint.configs.strictTypeChecked
  • Optionally add ...tseslint.configs.stylisticTypeChecked
  • Install eslint-plugin-react and update the config:
// eslint.config.js
import react from 'eslint-plugin-react'

export default tseslint.config({
  // Set the react version
  settings: { react: { version: '18.3' } },
  plugins: {
    // Add the react plugin
    react,
  },
  rules: {
    // other rules...
    // Enable its recommended rules
    ...react.configs.recommended.rules,
    ...react.configs['jsx-runtime'].rules,
  },
})