| var vm = new Vue({     el: "#root",          data: {         message: "hello world"     },     methods: {         handleClick: function () {             alert('xxxxx')         }     },                    beforeCreate: function () {          console.log('beforeCreate')     },                         created: function () {          console.log('created')     },          beforeMount: function () {          console.log(this.$el);         console.log('beforeMount')     },          mounted: function () {          console.log(this.$el);         console.log('mounted')     },          beforeDestroy: function () {       	         console.log('beforeDestroy')     },               destroyed: function () {          console.log('destroy')     },     beforeUpdate: function () {      	         console.log('beforeUpdate')     },     updated: function () {           console.log('updated')     } })
 |