webstorm配置了vite.config.js还是识别不了

不是webpack,而是vite

1.根目录新建tsconfig.json,或者jsconfig.json

 

2.复制代码

{
  "compilerOptions": {
    "baseUrl": "./",
    "paths": {
      "@/*": ["./src/*"]
    }
  }
}

 

posted @ 2023-05-15 09:51  深以为然  阅读(410)  评论(0编辑  收藏  举报