docs(app): improve module and framework reactivity

This commit is contained in:
Benjamin Canac
2025-01-17 00:01:06 +01:00
parent 3159a89436
commit a3a562b699
3 changed files with 20 additions and 2 deletions

View File

@@ -6,6 +6,10 @@ const value = ref<string | undefined>(undefined)
onMounted(() => {
value.value = module.value
})
watch(module, () => {
value.value = module.value
})
</script>
<template>