title: How to access a Vuejs data property from another data property?
body: <p>These are my code</p>
  <pre><code>data: {
       cat1 : {name: &quot;Category 1&quot;, reference : false},
       cat2 : {name: &quot;Subcategory 2&quot;, reference: this.cat1}
  }
  </code></pre>
  <p>When I am going to called this.cat2.reference from any function, its giving me value false. I don't want to declare the cat1 outside somewhere and make reference here. I want the exactly same structure as above so that, I can get the cat2 reference perfectly.</p>
  <p>Anyone could you please advice me any solution?</p>