cara menggunakan acara onload n vue js
vm=new Vue({
el:"#app",
mounted:function(){
this.method1() //method1 will execute at pageload
},
methods:{
method1:function(){
/* your logic */
}
},
})
Anxious Armadillo