Skip to content
Advertisement

How do I get database data using firebase/nuxtjs

I don’t know how to get the data via

JavaScript

I’ve read the firebase docs but in firebase/nuxtJs different it becomes easier https://firebase.nuxtjs.org/

In firebase docs

JavaScript

But when I call onValue, it doesn’t find it

JavaScript

nuxt.config.js file

JavaScript

Advertisement

Answer

Simply

JavaScript

simple explanation :

JavaScript

in Realtime Database : enter image description here

Whenever the value is changed, the function will run

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement