Basic Variables - Vue

Component

Source Code

<script>
export default {
	data() {
		return {
			count: 0
		}
	}
}
</script>

<template>
	<button @click="count++">Count: {{ count }}</button>
</template>