Answer the question
In order to leave comments, you need to log in
How to organize firbase db structure and edit in VUEJS?
how to properly organize the structure of the project, the
code can be conditionally divided into two parts
a tree with nested parts
districts
microdistricts
streets
houses
this part will not change much
, but in houses, apartments will be added/deleted/edited
apartments should be added to the general tree or can a separate node be created? and how to make a link
this is the first question
and the second
I have a District component this is the root level
I get from the base districts
export let rayons = FirebaseApp.database().ref('rayons')
name: "rayon",
firebase: {
rayons: rayons
},
firebase: {
rayons: rayons.child(АЙДИ РАОНА).child(МИКРОРАЙОНЫ)
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question