- {{ count }} "> - {{ count }} "> - {{ count }} ">
<template>
  <div>
    <button @click="decrement">-</button>
    {{ count }}
    <button @click="increment">+</button>
  </div>
</template>

<script lang="ts">
import Vue from "vue";
import Component from "vue-class-component";
import { Prop } from "vue-property-decorator";

@Component({
	components: {
		MyOtherComponent
	}
})
export default class Counter extends Vue {
  @Prop() private count!: number;

  increment() {
    this.count++;
  }

  decrement() {
    this.count--;
  }
}
</script>

How to handle t

How to do the data object