diff --git a/tsconfig.app.json b/tsconfig.app.json index 8d16e42..0638dea 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -3,6 +3,10 @@ "compilerOptions": { "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", "types": ["vite/client"], + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"], + }, /* Linting */ "strict": true, @@ -10,7 +14,7 @@ "noUnusedParameters": true, "erasableSyntaxOnly": true, "noFallthroughCasesInSwitch": true, - "noUncheckedSideEffectImports": true + "noUncheckedSideEffectImports": true, }, - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"] + "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"], } diff --git a/tsconfig.json b/tsconfig.json index 1ffef60..59578c3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,12 @@ "files": [], "references": [ { "path": "./tsconfig.app.json" }, - { "path": "./tsconfig.node.json" } - ] + { "path": "./tsconfig.node.json" }, + ], + "compilerOptions": { + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"], + }, + }, }