I need to write a user props in the template

0
<template>
<div id="tateti">
<Tablero :usuario1="usuario1" :usuario2="usuario2"/>

</div>
</template>

<script>
import Tablero from './Tablero.vue';

export default {
name: 'tateti',
components: {
Tablero
},
props: {
usuario1: {
  type: Object,
  default: null
 },
 usuario2: {
  type: Object,
  default: null

}
}
}

I need to write in the template the users of that props but I do not know how it works

    
asked by Nacho Cabrera 12.12.2018 в 12:46
source

0 answers