I have set this reactive value inside the setup const refValue = ref(‘foo’); and set a watch function to it watch(refValue, function() { console.log(“activaded”) }); …
Tag: vue-composition-api
Watch child properties from parent component in vue 3
I’m wondering how I can observe child properties from the parent component in Vue 3 using the composition api (I’m working with the experimental script setup). //Child.vue
How to correctly use Vue 3 composition-api across multiple Vue instances in multiple files
tl;dr What is the correct way to import Vue3 in a base js file, then use Vue’s composition-api in other standalone js files that will be loaded after that base file? I am using Vue to enhance user …