vue object deep observer 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
}
}