解决 IDEA下VUE项目 @符号无法识别的问题

在项目的根目录下新建jsconfig.json 并添加以下内容:

{ 
  "compilerOptions": {
    "baseUrl": "./",
    "paths": {
        "@/*": ["src/*"]
    }
  },
  "exclude": ["node_modules", "dist"]
}
posted @ 2020-11-09 13:46  只有牙  阅读(2690)  评论(0)    收藏  举报