Vue实例方法总结($mount,$forceUpdate,$nextTick,$destroy)
一.$mount方法$mount方法是用来挂载我们的扩展的.二.$destroy销毁方法1.html写在app外面,注意因为是外面,所以点击要用onclick扩展构造器点我销毁letjspang=Vue.extend({template:`{{message}}`,data:function(){return{message:'hellojspang!'}},//扩展里面也可以加生命周期destr