daily-share
daily-share copied to clipboard
如何配置 vscode 识别@文件路径(2022-06-13)
-
在项目根目录创建 jsconfig.json
-
添加如下配置
{
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@/*": ["src/*"],
}
},
"exclude": ["node_modules", "dist"],
"include": ["src/**/*"]
}
- 重启生效