title: How can I access programming class globally in vuejs
body: <p><strong>I want to declare a class like below</strong></p>
  <pre><code>class Customer{
   constructor(){
      this.id;       
      this.name;
      this.email;
      this.username;       
      this.password;
     }
  }
  </code></pre>
  <p><strong>I want to create its instance in any component in vuejs like this</strong></p>
  <pre><code>export default {
    name: 'TestCompotent',
    data()
    {
      return{
        MainCutomer: new Customer()      
      }
    },
  }
  </code></pre>
  <p><strong>Please advice me, how can I do that?</strong></p>