[Vuejs]-What is the correct way to access nested JSON for use in Vue.JS components?

0👍

First of all, are you defining the year prop:

<TDsByYear year='y2003'></TDsByYear>

…inside your vue component like this?

exports = {
     props: ['year'],
     data() {
          return { . . . }
     }
.
.
.
}

Leave a comment