Nuxt/test/fixtures/basic/components/client/MultiRootNode.client.vue
Julien Huang e6ca07bdc0
fix(nuxt): remove fragment from createClientOnly (#7774)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: jhuang@hsk-partners.com <jhuang@hsk-partners.com>
2022-10-03 16:14:55 +02:00

15 lines
268 B
Vue

<template>
<div v-bind="$attrs" class="multi-root-node-count">
{{ count }}
</div>
<button class="multi-root-node-button" @click="add">
add 1 to count
</button>
</template>
<script setup>
const count = ref(0)
const add = () => count.value++
</script>