From 7f03a846d74f25d980484c07aa2c4168a6fb17bc Mon Sep 17 00:00:00 2001 From: aronmal Date: Thu, 9 Nov 2023 13:51:48 +0100 Subject: [PATCH] Add import pahts --- tsconfig.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 77da9dd..f075cce 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,10 @@ { - "extends": "astro/tsconfigs/strict" + "extends": "astro/tsconfigs/strict", + "compilerOptions": { + "baseUrl": ".", + "paths": { + "@components/*": ["src/components/*"], + "@layouts/*": ["src/layouts/*"] + } + } } \ No newline at end of file