vue 3 deep watcher code example
Example: vue deep watch
watch: {
colors: {
handler(newValue){
console.log('colors changed', newValue)
}, deep: true
}
}
watch: {
colors: {
handler(newValue){
console.log('colors changed', newValue)
}, deep: true
}
}