mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
11 lines
181 B
Vue
11 lines
181 B
Vue
|
<template>
|
||
|
<div>
|
||
|
Child reloaded: {{ reloads }}
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script setup>
|
||
|
const reloads = useState('reload', () => 0)
|
||
|
onMounted(() => { reloads.value++ })
|
||
|
</script>
|