Static GitHub Issues

[2471] [Firebase Storage] Firebase.storage is not a function.

prev: SPA Confusion. Difference between build --spa and generate?
next: memory leaks with next tag

I'm working on a project using Nuxt and Firebase. Everything is ok except firebase storage.

I have 2 pages: 1. index.vue - / 2. add.vue -/add (which implemented firebase storage) If I get to page no.1 first, then move to page no.2 via router. Everything is ok. Firebase storage works fine. BUT WHEN I GET DIRECTLY TO /ADD, I GET AN ERROR: Firebase.storage is not a function. I don't know why? Please help me ...!

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2147">#c2147</a>)</em></sub></div>