From 09195d415d78b52fa006f04ae7e932625389fc5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A3=AE=E5=A3=AE?= <18264315@qq.com> Date: Thu, 18 Jan 2024 03:05:21 +0000 Subject: [PATCH] =?UTF-8?q?ts=20=E9=85=8D=E7=BD=AE=20=E6=96=B0=E5=A2=9E=20?= =?UTF-8?q?@/=20=E4=B8=8D=E7=84=B6vue=20ts=E4=BC=9A=E6=89=BE=E4=B8=8D?= =?UTF-8?q?=E5=88=B0=20@/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 壮壮 <18264315@qq.com> --- tsconfig.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index e9b1af7..7a7c160 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,11 @@ "resolveJsonModule": true, "esModuleInterop": true, "lib": ["esnext", "dom"], - "types": ["vite/client","@layui/layui-vue/types/components"] + "types": ["vite/client", "@layui/layui-vue/types/components"], + "baseUrl": "./", + "paths": { + "@/*": ["src/*"] + } }, "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"] } -- Gitee