Skip to content

Commit 003d810

Browse files
committed
fix: 新增jsconfig.json 配置路径别名
1 parent 43ae5b0 commit 003d810

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

HelloWorld/jsconfig.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": ".",
4+
"paths": {
5+
"@": ["src/*"],
6+
"@components/*": ["src/components/*"],
7+
"@utils/*": ["src/utils/*"]
8+
}
9+
}
10+
}

template/template/jsconfig.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": ".",
4+
"paths": {
5+
"@": ["src/*"],
6+
"@components/*": ["src/components/*"],
7+
"@utils/*": ["src/utils/*"]
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)