學(xué)習(xí)Vue的思路
1. 以一個(gè)例子為線索
new Vue()? --->? this._init(options)? --->
簡單的options例子
this._init()方法中菠齿,
1)uid--實(shí)例的唯一標(biāo)識(shí)
2)startTag衔峰,endTag--config.performance性能追蹤
3)options._isComponent
Vue創(chuàng)建組件時(shí)才會(huì)有
4)$options--用于Vue實(shí)例的初始化