vue dynamic create watch

JavaScript
vm.$watch('counter', function(newValue, oldValue) {
	alert('Counter changed from ' + oldValue + ' to ' + newValue + '!');
});
Source

Also in JavaScript: