How to use VueJS with Typescript?
<p>I'm trying to learn Vue and Typescript. But I can't seem to set it up correctly. </p>

<p>I made an app.ts file with these lines of code:</p>

<pre><code>import { Vue } from "../libs/vue/vue";

var app = new Vue({
    el: "#app",
    data: {
        message: 'Hello Vue!'
    }
}); 
</code></pre>

<p>I thought this would compile to something like this:</p>

<pre><code>var app = new Vue({
  el: '#app',
  data: {
    message: 'Hello Vue!'
  }
})
</code></pre>

<p>But instead I'm getting tons of errors when I run tsc. It seems as if it is trying to build the Vue definition files? <img src="https://i.imgur.com/4ESDURD.png" alt="Image here"></p>

<p>How can I get started working on Vue then with typescript? Are there any tutorials that can help me with this? I found a few online but none seem to be helping, or they are using other libraries such as av-ts which gives me the same problem</p>