Nuxt/test/fixtures/basic/pages/lazy-import-components/model-event.vue

16 lines
231 B
Vue
Raw Normal View History

2024-09-14 18:31:16 +00:00
<template>
<div>
<LazyEventDelayedModel
v-model="model"
@hydrated="log"
/>
</div>
</template>
<script setup lang="ts">
const model = ref(0)
function log () {
console.log('Component hydrated')
}
</script>