Nuxt/examples/routing/pages/pages/parent/static-[id].vue
Clément Ollivier 1a7b570c82
docs(examples): add examples to docs (#3966)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-30 17:59:28 +02:00

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>