'How to turn on autosubstitution in Nuxt project in VSCode?
I install empty Nuxt project by command npx create-nuxt-app testproject
I select options tsconfig.json.
It created tsconfig.json file:
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"~/*": ["./*"],
"@/*": ["./*"],
"~~/*": ["./*"],
"@@/*": ["./*"]
}
},
"exclude": ["node_modules", ".nuxt", "dist"]
}
I have installed Vetur extension.
But, when i written string like this:
Tutorial: () => import('@/compo')
Autosubstitution doesn't work.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
