<template>
  <button class="btn btn-primary me-3 font-bold" @click="count++">Count is: {{ count }}</button>
</template>

<script>
export default {
    props: {
        initialCounter: { type: Number, default: 0 }
    },
    data () {
        return {
            count: this.initialCounter
        }
    }
}
</script>

<style>

</style>