title: VueJS this.$firebase.storage is not a function
body: <p>Hi I've added this code to my main.js file.</p>
  
  <pre><code>import firebase from 'firebase/app';
  import 'firebase/firestore';
  const config = {
    apiKey: '###########',,
  
    authDomain: '###########',,
  
    databaseURL: '###########',,
  
    projectId: '###########',,
  
    storageBucket: '###########',,
  
    messagingSenderId: '###########',
  };
  firebase.initializeApp(config);
  Vue.prototype.$firebase = firebase;
  </code></pre>
  
  <p>And then inside my <code>imageUpload</code> method</p>
  
  <pre><code>const storageRef = this.$firebase.storage().ref();
  </code></pre>
  
  <p>This gives me an error</p>
  
  <blockquote>
    <p>this.$firebase.storage is not a function</p>
  </blockquote>
  
  <p>Why could this happen?</p>
  
  <p>Any idea?</p>