vue watch deep mounted 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
}
}