From 3194f731744b40c7c5564a4848a740de592054fc Mon Sep 17 00:00:00 2001 From: Cristiano Magro <cristiano.magro@vola.it> Date: Fri, 27 Dec 2024 21:27:05 +0100 Subject: [PATCH] vue.js life cicle --- 05 - behind the scenes/xno_behind-scenes-01-starting-setup/app.js | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/05 - behind the scenes/xno_behind-scenes-01-starting-setup/app.js b/05 - behind the scenes/xno_behind-scenes-01-starting-setup/app.js index 65f44bf..b7faa2e 100644 --- a/05 - behind the scenes/xno_behind-scenes-01-starting-setup/app.js +++ b/05 - behind the scenes/xno_behind-scenes-01-starting-setup/app.js @@ -15,6 +15,30 @@ // console.dir(this.$refs.userText) }, }, + beforeCreate(){ + console.log("beforeCreate()"); + }, + created(){ + console.log("create()"); + }, + beforeMount(){ + console.log("beforeMount()"); + }, + mounted(){ + console.log("mounted()"); + }, + beforeUpdate(){ + console.log("beforeUpdate()"); + }, + updated(){ + console.log("updated()"); + }, + beforeUnmount(){ + console.log("beforeUnmount()"); + }, + unmounted(){ + console.log("upmounted()"); + } }); app.mount("#app"); -- Gitblit v1.8.0