刘嘉威
2022-10-27 796f1fce7951ca1dd4ba5785f25d86bf5ca9dcd5
tsconfig.json
@@ -1,25 +1,19 @@
{
  "extends": "@vue/tsconfig/tsconfig.web.json",
  "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "types"],
  "compilerOptions": {
    "baseUrl": ".",
    "module": "ESNext",
    "target": "ES2016",
    "lib": ["DOM", "ESNext"],
    "strict": true,
    "jsx": "preserve",
    "esModuleInterop": true,
    "skipLibCheck": true,
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "noUnusedLocals": true,
    "strictNullChecks": true,
    "allowJs": true,
    "forceConsistentCasingInFileNames": true,
    "types": [
      "vite/client"
    ],
    "baseUrl": "./",
    "types": ["vite/client" ,"element-plus/global"],
    "paths": {
      "~/*": ["src/*"]
      "@/*": ["src/*"],
      "api/*": [
        "src/api/*"
      ],
    }
  },
  "exclude": ["dist", "node_modules"]
  "references": [
    {
      "path": "./tsconfig.config.json"
    }
  ]
}