-
-
Notifications
You must be signed in to change notification settings - Fork 481
Closed
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested
Description
I wish to use path completion when I was typing<img src="@
.
In the past, I used to use Vetur + Path Intellisense, and they works well like this:
but Volar + Path Intellisense doesn't works in template
tag, by th way, it's ok in script
tag.
setting.json
like this:
"path-intellisense.mappings": {
"@": "${workspaceRoot}/src/"
},
jsconfig.json
like this:
{
"strict":true,
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
}
},
"exclude": ["node_modules", "dist"]
}
By the way, I found that after I typed <img src="@/assets/
, the path completion worked, I don't know if this is going to help.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested