mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +00:00
14 lines
217 B
Vue
14 lines
217 B
Vue
<template>
|
|
<div>
|
|
Child reloaded: {{ reloads }}
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
const reloads = useState('static', () => 0)
|
|
onMounted(() => { reloads.value++ })
|
|
definePageMeta({
|
|
key: 'static'
|
|
})
|
|
</script>
|