From 5b3f772a872061a4a8fbcebbf2ec5fc0b7d42859 Mon Sep 17 00:00:00 2001 From: SuJiehao Date: Tue, 10 Jan 2023 11:41:14 +0800 Subject: [PATCH] chore: add baseUrl paths --- tsconfig.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index 5a801ab..11fffd2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,10 @@ "extends": "@vue/tsconfig/tsconfig.json", "compilerOptions": { "sourceMap": true, + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"] + }, "lib": ["esnext", "dom"], "types": ["@dcloudio/types"] },