[Vuejs]-Use the content of local json in a webapp in vue cli 4.2.3

0đź‘Ť

Of course you can utilize local JSON data in your Vue components.
Assuming you have this JSON data in data object of Vue component, then you can utilize Vue template syntax (tick syntax) such as “this.heroTitle[0]”, which refers to “Banner Image”.

Leave a comment