certimate/ui
yoan c2d3ed9ff1 Add dashboard 2024-09-07 20:55:36 +08:00
..
dist Add dashboard 2024-09-07 20:55:36 +08:00
public add cloudflare provider 2024-09-02 14:36:46 +08:00
src Add dashboard 2024-09-07 20:55:36 +08:00
.eslintrc.cjs
.gitignore
README.md
components.json
embed.go
index.html
package-lock.json Supports certificate downloads, wildcard domains, and more. 2024-08-26 21:51:30 +08:00
package.json Supports certificate downloads, wildcard domains, and more. 2024-08-26 21:51:30 +08:00
postcss.config.js
tailwind.config.js
tsconfig.app.json
tsconfig.json
tsconfig.node.json
vite.config.ts

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 {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json', './tsconfig.app.json'],
    tsconfigRootDir: __dirname,
  },
}
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list