Method of identifying vite alias path by idea webstorm

Add the following code to tsconfig.json or jsconfig.json in the root directory of the project. Create a new one without these two files

  //===========Compiler ide prompt...
  "baseUrl": "./",
  "paths": {
    "/@/*": ["./src/*"]
  },
  //===========Compiler ide prompt...

Read More: