Skip to content
Source
Sign inSign up
TanStack/store
Open History to see the last commit

Increment.vue

9 lines218 Bytes

1<script setup>
2import { store, updateState } from './store'
3​
4const props = defineProps({ animal: String })
5</script>
6​
7<template>
8 <button @click="updateState(animal)">My Friend Likes {{ animal }}</button>
9</template>