Front-End mobile UI of precaution

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

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