[-] I have searched through existing issues
[-] I have read through docs
[-] I have read FAQ
Firstly I create a *.ts (export default class ……)and import it in other *.vue.When I change this class constructor method, Reopen the vue file, Problem panel doesn't work
export default class Test {
constructor(id: number) { }
}
I try to import Test
mounted() {
new Test(1111)
}
export default class Test {
constructor(id:number, name:string) {}
}
step 4: Reopen App.vue
You will see that Problem Panel doesn't work,But complier is right
Tip:
When I reopen VS Code, can be correct。When other extensions are disabled, this bug is still
Hi @superbiger, we have already fixed this, but not release it yet.
@octref Can you give this a look?
@HerringtonDarkholme Could you help me how to install VS Code plugin from git ? i'm not familar with it.
@HerringtonDarkholme @superbiger
I hit a similar problem (kb10uy/vue-sfc-ts), and now it seems to be fixed correctly in the latest master branch. :laughing:
The vsce package is required to build and install the extension from this repository:
git clone https://github.com/vuejs/vetur
cd vetur
yarn && cd server && yarn && yarn compile && cd ../client && yarn && yarn compile && cd ../ && vsce package
Now you'll find vetur-0.11.7.vsix, you can install it by "Install from VSIX".
Thank @kb10uy , I have updated the instructions in FAQ.
I have published a binary in github tag. You can download 0.11.8 here.
https://github.com/vuejs/vetur/releases/tag/0.11.8
Most helpful comment
@HerringtonDarkholme @superbiger
I hit a similar problem (kb10uy/vue-sfc-ts), and now it seems to be fixed correctly in the latest master branch. :laughing:
The vsce package is required to build and install the extension from this repository:
Now you'll find
vetur-0.11.7.vsix, you can install it by "Install from VSIX".