Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
const app = new Vue({
el: "#app",
data: () => ({
nombre: "",
watch: {
nombre(nuevoValor, valorAnterior){
console.log("El nombre pasó de ser '%s' a '%s'", valorAnterior, nuevoValor);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment