How to Enable Offline Persistence in Firestore with Vue.js

Asked

Viewed 77 times

0

I’m having a problem enabling Firebase’s offline persistence mode. I am using Vue.js with Electron and my Firebase configuration file is as follows:

firebaseInit.js

Is returning this error:

inserir a descrição da imagem aqui

I hope someone can give some solution. I thank you in advance!

  • This seems to be an internal bug. I don’t see any similar error on the internet, I suggest you contact the Firebase team

  • @Rosáriopereirafernandes I have solved this by including Firebase via <script>, for now. But it is very annoying to have to use this way because of this Bug. So far I have not found another solution.

  • Can you post your solution code as a response? It will help people who have the same error.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.