You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using VS Code with Vue.js, I'm trying to setup VS Code to be able to display valid/invalid path of the files
Using following setting I can get correct valid/invalid sign (red underline below invalid path) but with .vue files, I only get invalid signs (both relative path and specified paths in "compilerOptions"."paths"
How to setup jsconfig.json or any other settings to make this working? Please guide
// no errors, Foo.js can be resolvedimportF1from'Components/Foo'// no errors, Foo.js can be resolvedimportF2from'./Foo'// errors, no Fo.js anywayimportF3from'Components/Fo'// errors Foo.vue cannot be resolvedimportF4from'Components/Foo.vue'// errors Foo.vue cannot be resolvedimportF5from'./Foo.vue'
tsc version: 2.3.4
VSCode Version: 1.12.2
OS Version: Windows 10
tsc Version: 2.3.4
The text was updated successfully, but these errors were encountered:
jeud
changed the title
baseUrl and paths in jsconfigjson not working with .vue files
baseUrl and paths setting in jsconfig.json is not working with .vue files
Jun 4, 2017
I have issues opening up handlebars files with hbs extension.
Also, is there a way to configure code to respect extensions when specified? If you have two files with same name but different extensions (js and jsx) it always prefers js one.
If you don't want those errors to show in your js files, your best bet is to disable javascript validation by setting: "javascript.validate.enable": false
Hi all
I'm using VS Code with Vue.js, I'm trying to setup VS Code to be able to display valid/invalid path of the files
Using following setting I can get correct valid/invalid sign (red underline below invalid path) but with .vue files, I only get invalid signs (both relative path and specified paths in
"compilerOptions"."paths"
How to setup jsconfig.json or any other settings to make this working? Please guide
Thanks
Path
jsconfig.json
entry.js
tsc
Version: 2.3.4The text was updated successfully, but these errors were encountered: