From 50b3c418fa653ff8df63a118af3833811a04e8c8 Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Tue, 28 Feb 2023 09:38:12 +0800 Subject: [PATCH] support vite.config.js alias --- jsconfig.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 jsconfig.json diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..e8f0754 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,10 @@ +{ + "_comment": "This file is used to trick IntelliJ/Webstorm/PHPStorm to use the correct alias as defined in vite.config.js", + "compilerOptions": { + "baseUrl": ".", + "paths": { + "/admin/*": ["resources/admin/*"], + "@/module/*": ["modules/*/views/*"] + } + } +}