mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
docs(app): improve module and framework reactivity
This commit is contained in:
@@ -6,6 +6,10 @@ const value = ref<string | undefined>(undefined)
|
||||
onMounted(() => {
|
||||
value.value = module.value
|
||||
})
|
||||
|
||||
watch(module, () => {
|
||||
value.value = module.value
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user