Declaração Vue 3 variáveis

export default {
  setup() {
    const count = ref(0)

    return {
      count
    }
  }
 // if you want change count variable, remember!
 // you only can when you will refer to "count.value"
 // EXAMPLE
 changeCountValue() => {
 	count.value = 4
 }
}
Marcin Student