通话平台demo

丁烨烨 143a59fbac 22 пре 1 година
public c2075bd4c3 第一次提交 пре 1 година
src 143a59fbac 22 пре 1 година
.gitignore c2075bd4c3 第一次提交 пре 1 година
README.md c2075bd4c3 第一次提交 пре 1 година
eslint.config.js c2075bd4c3 第一次提交 пре 1 година
index.html c2075bd4c3 第一次提交 пре 1 година
package-lock.json db10515c9a 视频通话 пре 1 година
package.json db10515c9a 视频通话 пре 1 година
tsconfig.app.json c2075bd4c3 第一次提交 пре 1 година
tsconfig.json c2075bd4c3 第一次提交 пре 1 година
tsconfig.node.json c2075bd4c3 第一次提交 пре 1 година
uno.config.ts c2075bd4c3 第一次提交 пре 1 година
vite.config.ts c2075bd4c3 第一次提交 пре 1 година

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