title: How to use axios in Vue (Typescript)?
body: <p>I would like to use axios in vue (Typescript) but I get into trouble with my code. This is my main.ts</p>
  
  <pre><code>import axios from 'axios'
  Vue.prototype.$axios = axios
  axios.defaults.baseURL = 'http://192.168.1.225:8088'
  </code></pre>
  
  <p>and this is my vue code
  <a href="https://i.stack.imgur.com/4gVtC.png" rel="noreferrer">screenshot here</a></p>
  
  <p>This is the first time I use typescript，before I used it another way in javaScript and I did not have any problem, so how can I use it in TypeScript? </p>
  
  <p>Thank you for your time and solution.</p>