feat: 增加图片导入路径别名和路径提示,同步修改vscode中推荐安装的插件

This commit is contained in:
lucas 2025-05-23 10:56:00 +08:00
parent da32e6da0c
commit fc062e6480
2 changed files with 5 additions and 2 deletions

View File

@ -13,6 +13,8 @@
"uni-helper.uni-ui-snippets-vscode",
"uni-helper.uni-app-snippets-vscode",
"mrmlnc.vscode-json5",
"streetsidesoftware.code-spell-checker"
"streetsidesoftware.code-spell-checker",
"foxundermoon.shell-format",
"christian-kohler.path-intellisense"
]
}

View File

@ -11,7 +11,8 @@
"sourceMap": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
"@/*": ["./src/*"],
"@img/*": ["./src/static/*"]
},
"outDir": "dist",
"lib": ["esnext", "dom"],