title: Uncaught TypeError: Cannot read property 'initializeApp' of undefined
body: <p>I'm trying to use a few Firebase libraries in my Vue project (I installed it using <code>npm install firebase</code>).</p>
  
  <p>I added those in <code>main.js</code>:</p>
  
  <pre><code>import { Firebase } from 'firebase/app'
  import 'firebase/analytics'
  import 'firebase/auth'
  import 'firebase/messaging'
  
  Firebase.initializeApp({
    apiKey: 'xxx',
    authDomain: 'xxx',
    databaseURL: 'xxx',
    projectId: 'xxx',
    storageBucket: 'xxx',
    messagingSenderId: 'xxx',
    appId: 'xxx',
    measurementId: 'xxx'
  })
  </code></pre>
  
  <p>And I get:</p>
  
  <blockquote>
    <p>Uncaught TypeError: Cannot read property 'initializeApp' of undefined</p>
  </blockquote>