diff --git a/elk/web/index.html b/elk/web/index.html
index 1f3105abc3880de38f67fd57d06d2b6c3dedae1e..676ff8a2a875c52baa3fcddca7243fbec2c9b91d 100644
--- a/elk/web/index.html
+++ b/elk/web/index.html
@@ -2,7 +2,7 @@
-
+
ELK
diff --git a/elk/web/tsconfig.json b/elk/web/tsconfig.json
index 9e03e60496f0cac6b13bd09c380b52f8ef9fac54..25133e925142b8f80cbeacfca66aecc6c3299ba2 100644
--- a/elk/web/tsconfig.json
+++ b/elk/web/tsconfig.json
@@ -18,8 +18,15 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
- "noFallthroughCasesInSwitch": true
+ "noFallthroughCasesInSwitch": true,
+
+ /* Module Resolution Options */
+ "baseUrl": ".", /* baseUrl用于设置解析非相对模块名称的基本目录,相对模块不会受baseUrl的影响 */
+ "paths": {
+ "@/*": ["src/*"] /* 用于设置模块名称到基于baseUrl的路径映射 */
+ }
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
- "references": [{ "path": "./tsconfig.node.json" }]
+ "references": [{ "path": "./tsconfig.node.json" }],
+
}