【文件属性】:
文件名称:vue-2.6.12:用于学习 vue2.x 源码的仓库,注释直接写在源码内的
文件大小:1.15MB
文件格式:ZIP
更新时间:2021-04-18 23:21:51
JavaScript
src 下的目录
platforms:提供给不同平台的 vue 版本入口
不带 template 编译器(不支持 template 属性,只支持 render)的 vue 版本入口文件:platforms\web\runtime\index.js
带 template 编译器的 vue 版本入口文件:platforms\web\entry-runtime-with-compiler.js
patch 函数入口文件:platforms\web\runtime\patch.js
编译相关入口文件:platforms\web\compiler\index.js
core:vue 主要流程代码
vue 导出主要出口文件:core\index.js
vue 全局 api 入口文件:core\global-api\index.js
vue 实例 api 入口文件:core\instance\index