title: How to import axios globally to a vue.js project
body: <p>I just installed <code>axios</code> to my vue project as</p>
  
  <pre><code>npm install axios
  </code></pre>
  
  <p>then in <code>main.js</code> file I import it as</p>
  
  <pre><code>import axios from "axios";
  </code></pre>
  
  <p><strong>But when I use axios</strong> in my components, it says</p>
  
  <blockquote>
    <p>ReferenceError: axios is not defined</p>
  </blockquote>
  
  <p>that means each and every component I have to import axios.</p>
  
  <p>Is there a smart way to import <code>axios</code> <strong>globally to my vue project</strong>.
  Then I won't need to import it on components each and every time.</p>