vue学习三:vue初始化的过程二(渲染、生命周期mounted---update)

首先看一下生命周期图:beforecreate到updateweb 接下来介绍的是$mount数组 src/platforms/web/web-runtime-with-compiler.js。mount的方法主要介绍:函数 compileToFunctions是对咱们最后生成的模板进行解析,生成render。优化 下钻到 createCompiler实现的是baseComple的三个方法3d 1
相关文章
相关标签/搜索