Keywords introduced by vue-cli using @ absolute path import have no syntax hints in vscode

keywords introduced by vue-cli using @ absolute path import have no syntax hint in vscode, but relative paths are:


both compilation runs are fine. How can vscode recognize the absolute path defined by webpack alias?


Under

vscode, you can add a jsconfig.json file to the project root for configuration.

configuration is as follows:

{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "@/*": ["src/*"]
    },
    "target": "ES6",
    "module": "commonjs",
    "allowSyntheticDefaultImports": true
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules"]
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5516f-4465a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5516f-4465a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?