📜  vue 组件生命周期 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:13.390000             🧑  作者: Mango

代码示例1
Vue3 default component lifecycles (not all though)
[CREATE]    beforeCreate()     ->     created()
[MOUNT]        beforeMount()    ->    mounted()
[UPDATE]    beforeUpdate()    ->    updated()
[UNMOUNT]    beforeUnmount()    ->    unmounted()