异音项目

wzg bf30f1d365 refactor(api): 优化 API 请求和分页功能 před 5 měsíci
public 6f48dd51b5 build: 初始化项目配置和基本结构 před 6 měsíci
src bf30f1d365 refactor(api): 优化 API 请求和分页功能 před 5 měsíci
.env bf30f1d365 refactor(api): 优化 API 请求和分页功能 před 5 měsíci
.gitignore 6f48dd51b5 build: 初始化项目配置和基本结构 před 6 měsíci
README.md d7670f66a6 创建项目 před 6 měsíci
eslint.config.js d7670f66a6 创建项目 před 6 měsíci
index.html 6f48dd51b5 build: 初始化项目配置和基本结构 před 6 měsíci
package.json bf30f1d365 refactor(api): 优化 API 请求和分页功能 před 5 měsíci
tsconfig.app.json d7670f66a6 创建项目 před 6 měsíci
tsconfig.json 6f48dd51b5 build: 初始化项目配置和基本结构 před 6 měsíci
tsconfig.node.json d7670f66a6 创建项目 před 6 měsíci
vite.config.ts 6f48dd51b5 build: 初始化项目配置和基本结构 před 6 měsíci

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