Front-End mobile UI of precaution

carlos 307b120719 feat: multiple env 2 months ago
public bcfa8daccd feat: basic authentication and basic data 2 months ago
src bcfa8daccd feat: basic authentication and basic data 2 months ago
.env.development 307b120719 feat: multiple env 2 months ago
.env.stage 307b120719 feat: multiple env 2 months ago
.gitignore f3489decbe feat:忽略 package-lock文件 2 months ago
.node-version 6326d803b8 feat:测试服配置 2 months ago
.prettierrc.json 03e8ebadd0 init 2 months ago
README.md 03e8ebadd0 init 2 months ago
eslint.config.js 03e8ebadd0 init 2 months ago
gulpfile.mjs 6326d803b8 feat:测试服配置 2 months ago
index.html bcfa8daccd feat: basic authentication and basic data 2 months ago
package.json 307b120719 feat: multiple env 2 months ago
pnpm-lock.yaml 90ab27d0c0 feat: api schema 2 months ago
tsconfig.app.json 03e8ebadd0 init 2 months ago
tsconfig.json 03e8ebadd0 init 2 months ago
tsconfig.node.json 03e8ebadd0 init 2 months ago
uno.config.ts 9abd7fc188 feat: portal trial 2 months ago
vite.config.ts 307b120719 feat: multiple env 2 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:

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