I have the following code:
<v-app> <v-content> <v-container fluid full-height> <v-layout row wrap> <v-flex xs12> <v-data-table hide-actions :headers='headers' :items='items' class='elevation-1' ></v-data-table> </v-flex> </v-layout> </v-container> </v-content> </v-app> in the script section:
data: { headers: [ {text: 'Name', value: 'name'}, {text: 'Age', value: 'age'} ], items: [ { name: 'John', age: 30 } ] } https://jsfiddle.net/eywraw8t/507618/
I do not understand why I'm just getting the header of the table and not the data. Can someone help me?
