Commit

a58f5d1

Vue.js
vue
<script setup>
import { ref } from 'vue'

const count = ref(0)

function increment() {
  count.value++ // Use .value in JS
}
</script>

<template>
  <!-- Automatically unwrapped in the template -->
  <button @click="increment">Count is: {{ count }}</button>
</template>

commit a58f5d1