According to the documentation I should write vue components in .vue files. I love to use TypeScript in vscode because of the awesome navigation, autocompletion, autoimport and intellisense features. Type safety is as well a plus.
When I use .vue files, I loose both intellisense and tyoe safety in external exports.
Using katashins vue-template-loader I get all those back.
Why should I use .vue files in TypeScript?
Here is a repo where I used katashin's wonderful loader.
[EDIT] Here is a quick display of what the HelloWorld.spec.ts file looks like with vetur 0.11.0, vscode 1.21.0 and the vue cli.
One can see the problem line 11.
It can be solved using the any keyword but it will loose type safety.


<script>tags with TypeScript? You are saying you lose the autocomplete in this case or are you comparing it to plain JavaScript?