Vue.js iku framework JavaScript progresif kanggo mbangun user interface. "Progresif" teges bisa diadopsi kanthi bertahap — bisa dilebokake ing saperangan kaca, utawa nggunakake ekosistem lengkape kanggo mbangun single-page app.
Komponen minimal
<script setup>
import { ref } from "vue";
const count = ref(0); // reactive state
</script>
<template>
<button @click="count++">Count is {{ count }}</button>
</template>
Komponen file-tunggal iki nggabung logika (), markup (), lan (opsional) style () bareng-bareng — klik tombol ngirubah , lan Vue otomatis nggambar ulang teksthe.
