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

App.vue

16 lines405 Bytes

1<script setup>
2import Increment from './Increment.vue'
3import Display from './Display.vue'
4</script>
5​
6<template>
7 <h1>How many of your friends like cats or dogs?</h1>
8 <p>
9 Press one of the buttons to add a counter of how many of your friends like
10 cats or dogs
11 </p>
12 <Increment animal="dogs" />
13 <Display animal="dogs" />
14 <Increment animal="cats" />
15 <Display animal="cats" />
16</template>