[{"data":1,"prerenderedAt":2984},["ShallowReactive",2],{"navigation":3,"/document/source-vue3/guide":1519,"/document/source-vue3/guide-surround":2979},[4],{"title":5,"path":6,"stem":7,"children":8,"page":50},"Document","/document","document",[9,51,118,150,207,263,307,343,363,403,447,479,518,558,585,609,633,665,700,731,762,794,831,863,899,929,964,1000,1036,1075,1110,1149,1181,1212,1243,1271,1307,1346,1378,1418,1455,1487],{"title":10,"path":11,"stem":12,"children":13,"page":50},"Html5","/document/html5","document/01.html5",[14,42],{"title":15,"path":16,"stem":17,"children":18,"icon":41},"指南","/document/html5/guide","document/01.html5/01.guide/01.index",[19,21,25,29,33,37],{"title":20,"path":16,"stem":17},"HTML 入门教程",{"title":22,"path":23,"stem":24},"常用标签详解","/document/html5/guide/tag","document/01.html5/01.guide/02.tag",{"title":26,"path":27,"stem":28},"布局与语义标签","/document/html5/guide/layout","document/01.html5/01.guide/03.layout",{"title":30,"path":31,"stem":32},"表单设计与用户输入","/document/html5/guide/form","document/01.html5/01.guide/04.form",{"title":34,"path":35,"stem":36},"多媒体与 HTML5 新特性","/document/html5/guide/html5","document/01.html5/01.guide/05.html5",{"title":38,"path":39,"stem":40},"Web 标准与 HTML 编写规范","/document/html5/guide/web","document/01.html5/01.guide/06.web","i-lucide-code",{"title":43,"path":44,"stem":45,"children":46,"icon":49},"考核","/document/html5/examine","document/01.html5/02.examine/01.index",[47],{"title":48,"path":44,"stem":45},"接下来对你进行考核","i-lucide-clipboard-check",false,{"title":52,"path":53,"stem":54,"children":55,"page":50},"Css","/document/css","document/02.css",[56,75,100,113],{"title":57,"path":58,"stem":59,"children":60,"icon":50},"启航","/document/css/guide","document/02.css/01.guide/01.index",[61,63,67,71],{"title":62,"path":58,"stem":59},"CSS 基础入门教程",{"title":64,"path":65,"stem":66},"文本与盒子样式详解","/document/css/guide/styles","document/02.css/01.guide/02.styles",{"title":68,"path":69,"stem":70},"选择器与权重机制","/document/css/guide/selected","document/02.css/01.guide/03.selected",{"title":72,"path":73,"stem":74},"盒模型详解","/document/css/guide/box","document/02.css/01.guide/04.box",{"title":76,"icon":50,"path":77,"stem":78,"children":79,"page":50},"布局","/document/css/layout","document/02.css/02.layout",[80,84,88,92,96],{"title":81,"path":82,"stem":83},"网页布局三剑客详解","/document/css/layout/policy","document/02.css/02.layout/01.policy",{"title":85,"path":86,"stem":87},"Position 定位详解","/document/css/layout/position","document/02.css/02.layout/02.position",{"title":89,"path":90,"stem":91},"Flexbox 布局入门指南","/document/css/layout/flex","document/02.css/02.layout/03.flex",{"title":93,"path":94,"stem":95},"Grid 布局入门指南","/document/css/layout/grid","document/02.css/02.layout/04.grid",{"title":97,"path":98,"stem":99},"响应式设计指南","/document/css/layout/relative","document/02.css/02.layout/05.relative",{"title":101,"icon":50,"path":102,"stem":103,"children":104,"page":50},"使用技巧","/document/css/skill","document/02.css/03.skill",[105,109],{"title":106,"path":107,"stem":108},"CSS 动画全解析","/document/css/skill/animation","document/02.css/03.skill/01.animation",{"title":110,"path":111,"stem":112},"CSS 使用技巧全攻略","/document/css/skill/skill","document/02.css/03.skill/02.skill",{"title":43,"path":114,"stem":115,"children":116,"icon":49},"/document/css/examine","document/02.css/04.examine/01.index",[117],{"title":48,"path":114,"stem":115},{"title":119,"path":120,"stem":121,"children":122,"page":50},"Git","/document/git","document/03.git",[123,145],{"title":57,"path":124,"stem":125,"children":126,"icon":50},"/document/git/guide","document/03.git/01.guide/01.index",[127,129,133,137,141],{"title":128,"path":124,"stem":125},"Git 入门指南",{"title":130,"path":131,"stem":132},"Git 安装与初体验","/document/git/guide/install","document/03.git/01.guide/02.install",{"title":134,"path":135,"stem":136},"常用 Git 命令详解","/document/git/guide/command","document/03.git/01.guide/03.command",{"title":138,"path":139,"stem":140},"Git 分支管理全解析","/document/git/guide/branch","document/03.git/01.guide/04.branch",{"title":142,"path":143,"stem":144},"使用 GitHub 轻松托管和管理代码","/document/git/guide/github","document/03.git/01.guide/05.github",{"title":43,"path":146,"stem":147,"children":148,"icon":49},"/document/git/examine","document/03.git/02.examine/01.index",[149],{"title":48,"path":146,"stem":147},{"title":151,"path":152,"stem":153,"children":154,"page":50},"Js Base","/document/js-base","document/04.js-base",[155,185,202],{"title":15,"path":156,"stem":157,"children":158,"icon":41},"/document/js-base/guide","document/04.js-base/01.guide/01.index",[159,161,165,169,173,177,181],{"title":160,"path":156,"stem":157},"JavaScript 基础快速入门",{"title":162,"path":163,"stem":164},"搞懂变量与数据类型","/document/js-base/guide/variable","document/04.js-base/01.guide/02.variable",{"title":166,"path":167,"stem":168},"JavaScript 运算符详解","/document/js-base/guide/operator","document/04.js-base/01.guide/03.operator",{"title":170,"path":171,"stem":172},"条件判断与循环语句","/document/js-base/guide/flow","document/04.js-base/01.guide/04.flow",{"title":174,"path":175,"stem":176},"深入理解 JavaScript 函数","/document/js-base/guide/function","document/04.js-base/01.guide/05.function",{"title":178,"path":179,"stem":180},"对象数组的创建与操作","/document/js-base/guide/object","document/04.js-base/01.guide/06.object",{"title":182,"path":183,"stem":184},"Math 和 Date 用法详解","/document/js-base/guide/math","document/04.js-base/01.guide/07.math",{"title":186,"icon":41,"path":187,"stem":188,"children":189,"page":50},"浏览器","/document/js-base/browser","document/04.js-base/02.browser",[190,194,198],{"title":191,"path":192,"stem":193},"DOM 操作入门与实战","/document/js-base/browser/dom","document/04.js-base/02.browser/01.dom",{"title":195,"path":196,"stem":197},"浏览器 BOM 基础知识","/document/js-base/browser/bom","document/04.js-base/02.browser/02.bom",{"title":199,"path":200,"stem":201},"JavaScript 事件处理机制","/document/js-base/browser/event","document/04.js-base/02.browser/03.event",{"title":43,"path":203,"stem":204,"children":205,"icon":49},"/document/js-base/examine","document/04.js-base/03.examine/01.index",[206],{"title":48,"path":203,"stem":204},{"title":208,"path":209,"stem":210,"children":211,"page":50},"Js Advanced","/document/js-advanced","document/05.js-advanced",[212,231,249],{"title":213,"path":214,"stem":215,"children":216,"icon":41},"JavaScript 原理","/document/js-advanced/guide","document/05.js-advanced/01.guide/01.index",[217,219,223,227],{"title":218,"path":214,"stem":215},"JavaScript 是怎么运行的？",{"title":220,"path":221,"stem":222},"深入理解函数和作用域","/document/js-advanced/guide/function","document/05.js-advanced/01.guide/02.function",{"title":224,"path":225,"stem":226},"深入理解 this 指向","/document/js-advanced/guide/this","document/05.js-advanced/01.guide/03.this",{"title":228,"path":229,"stem":230},"浅拷贝与深拷贝详解","/document/js-advanced/guide/copy","document/05.js-advanced/01.guide/04.copy",{"title":232,"icon":233,"path":234,"stem":235,"children":236,"page":50},"编程范式","i-lucide-shapes","/document/js-advanced/program","document/05.js-advanced/02.program",[237,241,245],{"title":238,"path":239,"stem":240},"面向对象编程（OOP）","/document/js-advanced/program/object","document/05.js-advanced/02.program/01.object",{"title":242,"path":243,"stem":244},"函数式编程入门","/document/js-advanced/program/fp","document/05.js-advanced/02.program/02.fp",{"title":246,"path":247,"stem":248},"防抖和节流详解","/document/js-advanced/program/debounce","document/05.js-advanced/02.program/03.debounce",{"title":250,"icon":251,"path":252,"stem":253,"children":254,"page":50},"浏览器相关特性","i-lucide-monitor","/document/js-advanced/browser","document/05.js-advanced/03.browser",[255,259],{"title":256,"path":257,"stem":258},"浏览器缓存入门指南","/document/js-advanced/browser/cache","document/05.js-advanced/03.browser/01.cache",{"title":260,"path":261,"stem":262},"Web 存储机制深度剖析","/document/js-advanced/browser/storage","document/05.js-advanced/03.browser/02.storage",{"title":264,"path":265,"stem":266,"children":267,"page":50},"Es6","/document/es6","document/06.es6",[268,302],{"title":213,"path":269,"stem":270,"children":271,"icon":41},"/document/es6/guide","document/06.es6/01.guide/01.index",[272,274,278,282,286,290,294,298],{"title":273,"path":269,"stem":270},"ES6 入门指南",{"title":275,"path":276,"stem":277},"变量声明：let 与 const","/document/es6/guide/const","document/06.es6/01.guide/02.const",{"title":279,"path":280,"stem":281},"箭头函数的用法与特点","/document/es6/guide/arrow","document/06.es6/01.guide/03.arrow",{"title":283,"path":284,"stem":285},"字符串、对象与数组的新特性","/document/es6/guide/enhance","document/06.es6/01.guide/04.enhance",{"title":287,"path":288,"stem":289},"Map 和 Set 的使用方式","/document/es6/guide/set","document/06.es6/01.guide/05.set",{"title":291,"path":292,"stem":293},"Promise 实现异步流程控制","/document/es6/guide/promise","document/06.es6/01.guide/06.promise",{"title":295,"path":296,"stem":297},"ESM 模块化语法解析","/document/es6/guide/esm","document/06.es6/01.guide/07.esm",{"title":299,"path":300,"stem":301},"Class 的定义与继承机制","/document/es6/guide/class","document/06.es6/01.guide/08.class",{"title":43,"path":303,"stem":304,"children":305,"icon":49},"/document/es6/examine","document/06.es6/02.examine/01.index",[306],{"title":48,"path":303,"stem":304},{"title":308,"path":309,"stem":310,"children":311,"page":50},"Js Algorithms","/document/js-algorithms","document/07.js-algorithms",[312,338],{"title":15,"path":313,"stem":314,"children":315,"icon":41},"/document/js-algorithms/guide","document/07.js-algorithms/01.guide/01.index",[316,318,322,326,330,334],{"title":317,"path":313,"stem":314},"什么是数据结构和算法？",{"title":319,"path":320,"stem":321},"时间和空间复杂度","/document/js-algorithms/guide/complexity","document/07.js-algorithms/01.guide/02.complexity",{"title":323,"path":324,"stem":325},"数据结构","/document/js-algorithms/guide/structure","document/07.js-algorithms/01.guide/03.structure",{"title":327,"path":328,"stem":329},"算法","/document/js-algorithms/guide/algorithms","document/07.js-algorithms/01.guide/04.algorithms",{"title":331,"path":332,"stem":333},"算法思想","/document/js-algorithms/guide/heuristic","document/07.js-algorithms/01.guide/05.heuristic",{"title":335,"path":336,"stem":337},"深度优先与广度优先搜索","/document/js-algorithms/guide/search","document/07.js-algorithms/01.guide/06.search",{"title":43,"path":339,"stem":340,"children":341,"icon":49},"/document/js-algorithms/examine","document/07.js-algorithms/02.examine/01.index",[342],{"title":48,"path":339,"stem":340},{"title":344,"path":345,"stem":346,"children":347,"page":50},"Automation","/document/automation","document/08.automation",[348,358],{"title":15,"path":349,"stem":350,"children":351,"icon":41},"/document/automation/guide","document/08.automation/01.guide/01.index",[352,354],{"title":353,"path":349,"stem":350},"什么是前端工程化？",{"title":355,"path":356,"stem":357},"开始搭建工程化项目","/document/automation/guide/start","document/08.automation/01.guide/02.start",{"title":43,"path":359,"stem":360,"children":361,"icon":49},"/document/automation/examine","document/08.automation/02.examine/01.index",[362],{"title":48,"path":359,"stem":360},{"title":364,"path":365,"stem":366,"children":367,"page":50},"Webpack","/document/webpack","document/09.webpack",[368,398],{"title":15,"path":369,"stem":370,"children":371,"icon":41},"/document/webpack/guide","document/09.webpack/01.guide/01.index",[372,374,378,382,386,390,394],{"title":373,"path":369,"stem":370},"Webpack 初识",{"title":375,"path":376,"stem":377},"搭建 Webpack 项目","/document/webpack/guide/start","document/09.webpack/01.guide/02.start",{"title":379,"path":380,"stem":381},"Loader 加载器","/document/webpack/guide/loader","document/09.webpack/01.guide/03.loader",{"title":383,"path":384,"stem":385},"Plugin 插件","/document/webpack/guide/plugin","document/09.webpack/01.guide/04.plugin",{"title":387,"path":388,"stem":389},"HMR 热更新与开发模式","/document/webpack/guide/dev","document/09.webpack/01.guide/05.dev",{"title":391,"path":392,"stem":393},"性能优化配置","/document/webpack/guide/optimize","document/09.webpack/01.guide/06.optimize",{"title":395,"path":396,"stem":397},"webpack 生产环境构建全攻略","/document/webpack/guide/production","document/09.webpack/01.guide/07.production",{"title":43,"path":399,"stem":400,"children":401,"icon":49},"/document/webpack/examine","document/09.webpack/02.examine/01.index",[402],{"title":48,"path":399,"stem":400},{"title":404,"path":405,"stem":406,"children":407,"page":50},"Scss","/document/scss","document/10.scss",[408,442],{"title":15,"path":409,"stem":410,"children":411,"icon":41},"/document/scss/guide","document/10.scss/01.guide/01.index",[412,414,418,422,426,430,434,438],{"title":413,"path":409,"stem":410},"什么是 SCSS？",{"title":415,"path":416,"stem":417},"SCSS 入门语法基础","/document/scss/guide/syntax","document/10.scss/01.guide/02.syntax",{"title":419,"path":420,"stem":421},"开始编写 Scss 项目","/document/scss/guide/start","document/10.scss/01.guide/03.start",{"title":423,"path":424,"stem":425},"Scss 模块导入方式","/document/scss/guide/import","document/10.scss/01.guide/04.import",{"title":427,"path":428,"stem":429},"Mixin 与函数详解","/document/scss/guide/mixin","document/10.scss/01.guide/05.mixin",{"title":431,"path":432,"stem":433},"Scss 继承、占位符技巧","/document/scss/guide/extend","document/10.scss/01.guide/06.extend",{"title":435,"path":436,"stem":437},"SCSS 流程控制与逻辑语法","/document/scss/guide/flow","document/10.scss/01.guide/07.flow",{"title":439,"path":440,"stem":441},"SCSS 内置函数","/document/scss/guide/function","document/10.scss/01.guide/08.function",{"title":43,"path":443,"stem":444,"children":445,"icon":49},"/document/scss/examine","document/10.scss/02.examine/01.index",[446],{"title":48,"path":443,"stem":444},{"title":448,"path":449,"stem":450,"children":451,"page":50},"Eslint","/document/eslint","document/11.eslint",[452,474],{"title":15,"path":453,"stem":454,"children":455,"icon":41},"/document/eslint/guide","document/11.eslint/01.guide/01.index",[456,458,462,466,470],{"title":457,"path":453,"stem":454},"ESLint 是什么？",{"title":459,"path":460,"stem":461},"ESLint 安装与运行详解","/document/eslint/guide/install","document/11.eslint/01.guide/02.install",{"title":463,"path":464,"stem":465},"ESLint  规则介绍","/document/eslint/guide/rule","document/11.eslint/01.guide/03.rule",{"title":467,"path":468,"stem":469},"集成 ESLint 到 Webpack","/document/eslint/guide/webpack","document/11.eslint/01.guide/04.webpack",{"title":471,"path":472,"stem":473},"Plugins 和 Extends 使用","/document/eslint/guide/plugins","document/11.eslint/01.guide/05.plugins",{"title":43,"path":475,"stem":476,"children":477,"icon":49},"/document/eslint/examine","document/11.eslint/02.examine/01.index",[478],{"title":48,"path":475,"stem":476},{"title":480,"path":481,"stem":482,"children":483,"page":50},"Axios","/document/axios","document/12.axios",[484,494,513],{"title":15,"path":485,"stem":486,"children":487,"icon":41},"/document/axios/guide","document/12.axios/01.guide/01.index",[488,490],{"title":489,"path":485,"stem":486},"HTTP 协议与网络请求",{"title":491,"path":492,"stem":493},"使用 JavaScript 发起请求","/document/axios/guide/get","document/12.axios/01.guide/02.get",{"title":495,"path":496,"stem":497,"children":498,"icon":41},"axios 插件","/document/axios/axios","document/12.axios/02.axios/01.index",[499,501,505,509],{"title":500,"path":496,"stem":497},"Axios 入门",{"title":502,"path":503,"stem":504},"Axios 请求基础全面讲解","/document/axios/axios/start","document/12.axios/02.axios/02.start",{"title":506,"path":507,"stem":508},"Axios 高级使用技巧","/document/axios/axios/advenced","document/12.axios/02.axios/03.advenced",{"title":510,"path":511,"stem":512},"CORS 跨域解决方案","/document/axios/axios/cors","document/12.axios/02.axios/04.cors",{"title":43,"path":514,"stem":515,"children":516,"icon":49},"/document/axios/examine","document/12.axios/03.examine/01.index",[517],{"title":48,"path":514,"stem":515},{"title":519,"path":520,"stem":521,"children":522,"page":50},"Typescript","/document/typescript","document/13.typescript",[523,553],{"title":15,"path":524,"stem":525,"children":526,"icon":41},"/document/typescript/guide","document/13.typescript/01.guide/01.index",[527,529,533,537,541,545,549],{"title":528,"path":524,"stem":525},"TypeScript 简介与入门",{"title":530,"path":531,"stem":532},"类型系统基础","/document/typescript/guide/base","document/13.typescript/01.guide/02.base",{"title":534,"path":535,"stem":536},"类型组合与类型保护","/document/typescript/guide/compose","document/13.typescript/01.guide/03.compose",{"title":538,"path":539,"stem":540},"类与面向对象编程","/document/typescript/guide/class","document/13.typescript/01.guide/04.class",{"title":542,"path":543,"stem":544},"泛型与类型复用","/document/typescript/guide/generic","document/13.typescript/01.guide/05.generic",{"title":546,"path":547,"stem":548},"项目进阶与配置实战","/document/typescript/guide/config","document/13.typescript/01.guide/06.config",{"title":550,"path":551,"stem":552},"第三方库类型支持与声明","/document/typescript/guide/declare","document/13.typescript/01.guide/07.declare",{"title":43,"path":554,"stem":555,"children":556,"icon":49},"/document/typescript/examine","document/13.typescript/02.examine/01.index",[557],{"title":48,"path":554,"stem":555},{"title":559,"path":560,"stem":561,"children":562,"page":50},"Vue2","/document/vue2","document/14.vue2",[563],{"title":15,"path":564,"stem":565,"children":566,"icon":41},"/document/vue2/guide","document/14.vue2/01.guide/01.index",[567,569,573,577,581],{"title":568,"path":564,"stem":565},"Vue 2 入门与安装",{"title":570,"path":571,"stem":572},"模板语法与指令详解","/document/vue2/guide/directive","document/14.vue2/01.guide/02.directive",{"title":574,"path":575,"stem":576},"组件化开发基础","/document/vue2/guide/component","document/14.vue2/01.guide/03.component",{"title":578,"path":579,"stem":580},"计算属性与监听器","/document/vue2/guide/reactive","document/14.vue2/01.guide/04.reactive",{"title":582,"path":583,"stem":584},"生命周期钩子解析","/document/vue2/guide/hooks","document/14.vue2/01.guide/05.hooks",{"title":586,"path":587,"stem":588,"children":589,"page":50},"Router","/document/router","document/15.router",[590],{"title":591,"path":592,"stem":593,"children":594,"icon":41},"Vue Router 路由","/document/router/guide","document/15.router/01.guide/01.index",[595,597,601,605],{"title":596,"path":592,"stem":593},"Vue Router 入门",{"title":598,"path":599,"stem":600},"路由核心功能详解","/document/router/guide/routing","document/15.router/01.guide/02.routing",{"title":602,"path":603,"stem":604},"路由守卫钩子和元信息","/document/router/guide/hook","document/15.router/01.guide/03.hook",{"title":606,"path":607,"stem":608},"路由优化与懒加载","/document/router/guide/optimize","document/15.router/01.guide/04.optimize",{"title":610,"path":611,"stem":612,"children":613,"page":50},"Vuex","/document/vuex","document/16.vuex",[614],{"title":615,"path":616,"stem":617,"children":618,"icon":41},"Vuex 状态管理器","/document/vuex/guide","document/16.vuex/01.guide/01.index",[619,621,625,629],{"title":620,"path":616,"stem":617},"为什么要使用 Vuex？",{"title":622,"path":623,"stem":624},"快速上手 Vuex","/document/vuex/guide/start","document/16.vuex/01.guide/02.start",{"title":626,"path":627,"stem":628},"深入理解 Vuex 核心功能","/document/vuex/guide/core","document/16.vuex/01.guide/03.core",{"title":630,"path":631,"stem":632},"模块化与进阶用法","/document/vuex/guide/module","document/16.vuex/01.guide/04.module",{"title":634,"path":635,"stem":636,"children":637,"page":50},"Element Ui","/document/element-ui","document/17.element-ui",[638],{"title":639,"path":640,"stem":641,"children":642,"icon":41},"Element UI 组件库","/document/element-ui/guide","document/17.element-ui/01.guide/01.index",[643,645,649,653,657,661],{"title":644,"path":640,"stem":641},"Element UI 初体验",{"title":646,"path":647,"stem":648},"常用组件快速上手","/document/element-ui/guide/quickstart","document/17.element-ui/01.guide/02.quickstart",{"title":650,"path":651,"stem":652},"布局与结构类组件","/document/element-ui/guide/layout","document/17.element-ui/01.guide/03.layout",{"title":654,"path":655,"stem":656},"自定义组件样式","/document/element-ui/guide/style","document/17.element-ui/01.guide/04.style",{"title":658,"path":659,"stem":660},"组件封装与复用","/document/element-ui/guide/component","document/17.element-ui/01.guide/05.component",{"title":662,"path":663,"stem":664},"自定义主题色与深色模式","/document/element-ui/guide/theme","document/17.element-ui/01.guide/06.theme",{"title":666,"path":667,"stem":668,"children":669,"page":50},"Vue3","/document/vue3","document/18.vue3",[670],{"title":666,"path":671,"stem":672,"children":673,"icon":41},"/document/vue3/guide","document/18.vue3/01.guide/01.index",[674,676,680,684,688,692,696],{"title":675,"path":671,"stem":672},"Vue 3 概览与生态升级",{"title":677,"path":678,"stem":679},"组合式 API 入门指南","/document/vue3/guide/composition","document/18.vue3/01.guide/02.composition",{"title":681,"path":682,"stem":683},"组合式 API 逻辑抽离","/document/vue3/guide/composable","document/18.vue3/01.guide/03.composable",{"title":685,"path":686,"stem":687},"模板语法及新特性","/document/vue3/guide/features","document/18.vue3/01.guide/04.features",{"title":689,"path":690,"stem":691},"TypeScript 开发支持","/document/vue3/guide/typescript","document/18.vue3/01.guide/05.typescript",{"title":693,"path":694,"stem":695},"响应式系统原理与进阶 API","/document/vue3/guide/reactive","document/18.vue3/01.guide/06.reactive",{"title":697,"path":698,"stem":699},"Vue Router 4 路由实战","/document/vue3/guide/vue-router","document/18.vue3/01.guide/07.vue-router",{"title":701,"path":702,"stem":703,"children":704,"page":50},"Pinia","/document/pinia","document/19.pinia",[705],{"title":701,"path":706,"stem":707,"children":708,"icon":41},"/document/pinia/guide","document/19.pinia/01.guide/01.index",[709,711,715,719,723,727],{"title":710,"path":706,"stem":707},"Pinia 简介与安装",{"title":712,"path":713,"stem":714},"Store 三大核心","/document/pinia/guide/store","document/19.pinia/01.guide/02.store",{"title":716,"path":717,"stem":718},"在组件中使用 Store","/document/pinia/guide/usage","document/19.pinia/01.guide/03.usage",{"title":720,"path":721,"stem":722},"State 修改与响应式细节","/document/pinia/guide/state","document/19.pinia/01.guide/04.state",{"title":724,"path":725,"stem":726},"Action 与异步操作","/document/pinia/guide/action","document/19.pinia/01.guide/05.action",{"title":728,"path":729,"stem":730},"组合、TypeScript 与插件","/document/pinia/guide/advanced","document/19.pinia/01.guide/06.advanced",{"title":732,"path":733,"stem":734,"children":735,"page":50},"Vite","/document/vite","document/20.vite",[736],{"title":732,"path":737,"stem":738,"children":739,"icon":41},"/document/vite/guide","document/20.vite/01.guide/01.index",[740,742,746,750,754,758],{"title":741,"path":737,"stem":738},"Vite 简介与安装",{"title":743,"path":744,"stem":745},"基础配置","/document/vite/guide/config","document/20.vite/01.guide/02.config",{"title":747,"path":748,"stem":749},"常用插件","/document/vite/guide/plugins","document/20.vite/01.guide/03.plugins",{"title":751,"path":752,"stem":753},"环境变量与模式","/document/vite/guide/env","document/20.vite/01.guide/04.env",{"title":755,"path":756,"stem":757},"依赖预构建","/document/vite/guide/optimize-deps","document/20.vite/01.guide/05.optimize-deps",{"title":759,"path":760,"stem":761},"构建与部署","/document/vite/guide/build-deploy","document/20.vite/01.guide/06.build-deploy",{"title":763,"path":764,"stem":765,"children":766,"page":50},"Nuxt","/document/nuxt","document/21.nuxt",[767],{"title":768,"path":769,"stem":770,"children":771,"icon":41},"Nuxt.js","/document/nuxt/guide","document/21.nuxt/01.guide/01.index",[772,774,778,782,786,790],{"title":773,"path":769,"stem":770},"Nuxt.js 简介与安装",{"title":775,"path":776,"stem":777},"目录约定与自动导入","/document/nuxt/guide/directory-and-auto-imports","document/21.nuxt/01.guide/02.directory-and-auto-imports",{"title":779,"path":780,"stem":781},"文件路由与导航","/document/nuxt/guide/routing","document/21.nuxt/01.guide/03.routing",{"title":783,"path":784,"stem":785},"数据获取","/document/nuxt/guide/data-fetching","document/21.nuxt/01.guide/04.data-fetching",{"title":787,"path":788,"stem":789},"状态管理","/document/nuxt/guide/state-management","document/21.nuxt/01.guide/05.state-management",{"title":791,"path":792,"stem":793},"配置与部署","/document/nuxt/guide/config-and-deploy","document/21.nuxt/01.guide/06.config-and-deploy",{"title":795,"path":796,"stem":797,"children":798,"page":50},"Npm","/document/npm","document/22.npm",[799],{"title":800,"path":801,"stem":802,"children":803,"icon":830},"NPM","/document/npm/guide","document/22.npm/01.guide/01.index",[804,806,810,814,818,822,826],{"title":805,"path":801,"stem":802},"NPM 入门",{"title":807,"path":808,"stem":809},"package.json 详解","/document/npm/guide/package-json","document/22.npm/01.guide/02.package-json",{"title":811,"path":812,"stem":813},"安装命令与版本","/document/npm/guide/install-commands","document/22.npm/01.guide/03.install-commands",{"title":815,"path":816,"stem":817},"scripts 与 npx","/document/npm/guide/scripts-and-npx","document/22.npm/01.guide/04.scripts-and-npx",{"title":819,"path":820,"stem":821},"发布包与镜像源","/document/npm/guide/publish-and-registry","document/22.npm/01.guide/05.publish-and-registry",{"title":823,"path":824,"stem":825},"lock 文件与清理","/document/npm/guide/lock-and-clean","document/22.npm/01.guide/06.lock-and-clean",{"title":827,"path":828,"stem":829},"Yarn 与 pnpm","/document/npm/guide/yarn-and-pnpm","document/22.npm/01.guide/07.yarn-and-pnpm","i-simple-icons-npm",{"title":832,"icon":833,"path":834,"stem":835,"children":836,"page":50},"Handlebars","i-simple-icons-handlebarsdotjs","/document/handlebars","document/23.handlebars",[837],{"title":838,"path":839,"stem":840,"children":841},"Handlebars 简介","/document/handlebars/guide","document/23.handlebars/01.guide/01.index",[842,843,847,851,855,859],{"title":838,"path":839,"stem":840},{"title":844,"path":845,"stem":846},"基本语法","/document/handlebars/guide/syntax","document/23.handlebars/01.guide/02.syntax",{"title":848,"path":849,"stem":850},"内置辅助函数","/document/handlebars/guide/builtins","document/23.handlebars/01.guide/03.builtins",{"title":852,"path":853,"stem":854},"模板复用","/document/handlebars/guide/partials","document/23.handlebars/01.guide/04.partials",{"title":856,"path":857,"stem":858},"自定义 Helpers","/document/handlebars/guide/helpers","document/23.handlebars/01.guide/05.helpers",{"title":860,"path":861,"stem":862},"预编译与运行时","/document/handlebars/guide/runtime","document/23.handlebars/01.guide/06.runtime",{"title":864,"icon":865,"path":866,"stem":867,"children":868,"page":50},"Plop","i-simple-icons-nodedotjs","/document/plop","document/24.plop",[869],{"title":870,"path":871,"stem":872,"children":873},"Plop 简介","/document/plop/guide","document/24.plop/01.guide/01.index",[874,875,879,883,887,891,895],{"title":870,"path":871,"stem":872},{"title":876,"path":877,"stem":878},"第一个生成器","/document/plop/guide/plopfile","document/24.plop/01.guide/02.plopfile",{"title":880,"path":881,"stem":882},"交互式询问","/document/plop/guide/prompts","document/24.plop/01.guide/03.prompts",{"title":884,"path":885,"stem":886},"核心动作","/document/plop/guide/actions","document/24.plop/01.guide/04.actions",{"title":888,"path":889,"stem":890},"模板文件组织","/document/plop/guide/templates","document/24.plop/01.guide/05.templates",{"title":892,"path":893,"stem":894},"Helper 扩展","/document/plop/guide/helpers","document/24.plop/01.guide/06.helpers",{"title":896,"path":897,"stem":898},"组件生成实战","/document/plop/guide/practice","document/24.plop/01.guide/07.practice",{"title":900,"icon":901,"path":902,"stem":903,"children":904,"page":50},"Rollup","i-simple-icons-rollupdotjs","/document/rollup","document/25.rollup",[905],{"title":906,"path":907,"stem":908,"children":909},"Rollup 简介","/document/rollup/guide","document/25.rollup/01.guide/01.index",[910,911,914,918,921,925],{"title":906,"path":907,"stem":908},{"title":743,"path":912,"stem":913},"/document/rollup/guide/config","document/25.rollup/01.guide/02.config",{"title":915,"path":916,"stem":917},"输出格式","/document/rollup/guide/formats","document/25.rollup/01.guide/03.formats",{"title":747,"path":919,"stem":920},"/document/rollup/guide/plugins","document/25.rollup/01.guide/04.plugins",{"title":922,"path":923,"stem":924},"Tree Shaking","/document/rollup/guide/tree-shaking","document/25.rollup/01.guide/05.tree-shaking",{"title":926,"path":927,"stem":928},"打包工具库实战","/document/rollup/guide/library","document/25.rollup/01.guide/06.library",{"title":930,"icon":865,"path":931,"stem":932,"children":933,"page":50},"Snabbdom","/document/snabbdom","document/26.snabbdom",[934],{"title":935,"path":936,"stem":937,"children":938},"Snabbdom 简介","/document/snabbdom/guide","document/26.snabbdom/01.guide/01.index",[939,940,944,948,952,956,960],{"title":935,"path":936,"stem":937},{"title":941,"path":942,"stem":943},"h 函数","/document/snabbdom/guide/h","document/26.snabbdom/01.guide/02.h",{"title":945,"path":946,"stem":947},"模块机制","/document/snabbdom/guide/modules","document/26.snabbdom/01.guide/03.modules",{"title":949,"path":950,"stem":951},"patch 渲染与更新","/document/snabbdom/guide/patch","document/26.snabbdom/01.guide/04.patch",{"title":953,"path":954,"stem":955},"key 的作用","/document/snabbdom/guide/key","document/26.snabbdom/01.guide/05.key",{"title":957,"path":958,"stem":959},"Diff 原理","/document/snabbdom/guide/diff","document/26.snabbdom/01.guide/06.diff",{"title":961,"path":962,"stem":963},"手写迷你虚拟 DOM","/document/snabbdom/guide/practice","document/26.snabbdom/01.guide/07.practice",{"title":965,"icon":966,"path":967,"stem":968,"children":969,"page":50},"Vercel","i-simple-icons-vercel","/document/vercel","document/27.vercel",[970],{"title":971,"path":972,"stem":973,"children":974},"Vercel 简介","/document/vercel/guide","document/27.vercel/01.guide/01.index",[975,976,980,984,988,992,996],{"title":971,"path":972,"stem":973},{"title":977,"path":978,"stem":979},"Vercel CLI","/document/vercel/guide/cli","document/27.vercel/01.guide/02.cli",{"title":981,"path":982,"stem":983},"项目设置与环境变量","/document/vercel/guide/settings","document/27.vercel/01.guide/03.settings",{"title":985,"path":986,"stem":987},"预览部署与回滚","/document/vercel/guide/preview","document/27.vercel/01.guide/04.preview",{"title":989,"path":990,"stem":991},"自定义域名","/document/vercel/guide/domain","document/27.vercel/01.guide/05.domain",{"title":993,"path":994,"stem":995},"vercel.json 配置","/document/vercel/guide/vercel-json","document/27.vercel/01.guide/06.vercel-json",{"title":997,"path":998,"stem":999},"Serverless Functions","/document/vercel/guide/serverless","document/27.vercel/01.guide/07.serverless",{"title":1001,"icon":1002,"path":1003,"stem":1004,"children":1005,"page":50},"ECharts","i-simple-icons-apacheecharts","/document/echarts","document/28.echarts",[1006],{"title":1007,"path":1008,"stem":1009,"children":1010},"ECharts 简介","/document/echarts/guide","document/28.echarts/01.guide/01.index",[1011,1012,1016,1020,1024,1028,1032],{"title":1007,"path":1008,"stem":1009},{"title":1013,"path":1014,"stem":1015},"核心配置项","/document/echarts/guide/option","document/28.echarts/01.guide/02.option",{"title":1017,"path":1018,"stem":1019},"常用图表类型","/document/echarts/guide/charts","document/28.echarts/01.guide/03.charts",{"title":1021,"path":1022,"stem":1023},"样式与主题","/document/echarts/guide/style","document/28.echarts/01.guide/04.style",{"title":1025,"path":1026,"stem":1027},"交互与事件","/document/echarts/guide/interaction","document/28.echarts/01.guide/05.interaction",{"title":1029,"path":1030,"stem":1031},"动态数据","/document/echarts/guide/data","document/28.echarts/01.guide/06.data",{"title":1033,"path":1034,"stem":1035},"Vue3 实战","/document/echarts/guide/vue","document/28.echarts/01.guide/07.vue",{"title":1037,"icon":1038,"path":1039,"stem":1040,"children":1041,"page":50},"D3","i-simple-icons-d3dotjs","/document/d3","document/29.d3",[1042],{"title":1043,"path":1044,"stem":1045,"children":1046},"D3 简介","/document/d3/guide","document/29.d3/01.guide/01.index",[1047,1048,1052,1056,1060,1064,1068,1072],{"title":1043,"path":1044,"stem":1045},{"title":1049,"path":1050,"stem":1051},"选择集与数据绑定","/document/d3/guide/selection","document/29.d3/01.guide/02.selection",{"title":1053,"path":1054,"stem":1055},"比例尺","/document/d3/guide/scale","document/29.d3/01.guide/03.scale",{"title":1057,"path":1058,"stem":1059},"坐标轴","/document/d3/guide/axis","document/29.d3/01.guide/04.axis",{"title":1061,"path":1062,"stem":1063},"图形生成器","/document/d3/guide/shape","document/29.d3/01.guide/05.shape",{"title":1065,"path":1066,"stem":1067},"过渡动画","/document/d3/guide/transition","document/29.d3/01.guide/06.transition",{"title":1069,"path":1070,"stem":1071},"交互与缩放","/document/d3/guide/interaction","document/29.d3/01.guide/07.interaction",{"title":1033,"path":1073,"stem":1074},"/document/d3/guide/vue","document/29.d3/01.guide/08.vue",{"title":1076,"icon":1077,"path":1078,"stem":1079,"children":1080,"page":50},"Three.js","i-simple-icons-threedotjs","/document/threejs","document/30.threejs",[1081],{"title":1082,"path":1083,"stem":1084,"children":1085},"Three.js 简介","/document/threejs/guide","document/30.threejs/01.guide/01.index",[1086,1087,1091,1095,1099,1103,1107],{"title":1082,"path":1083,"stem":1084},{"title":1088,"path":1089,"stem":1090},"几何体与材质","/document/threejs/guide/geometry","document/30.threejs/01.guide/02.geometry",{"title":1092,"path":1093,"stem":1094},"灯光与阴影","/document/threejs/guide/light","document/30.threejs/01.guide/03.light",{"title":1096,"path":1097,"stem":1098},"相机与坐标系","/document/threejs/guide/camera","document/30.threejs/01.guide/04.camera",{"title":1100,"path":1101,"stem":1102},"动画与渲染循环","/document/threejs/guide/animation","document/30.threejs/01.guide/05.animation",{"title":1104,"path":1105,"stem":1106},"轨道控制器","/document/threejs/guide/control","document/30.threejs/01.guide/06.control",{"title":1033,"path":1108,"stem":1109},"/document/threejs/guide/vue","document/30.threejs/01.guide/07.vue",{"title":1111,"icon":865,"path":1112,"stem":1113,"children":1114,"page":50},"Node.js","/document/nodejs","document/32.nodejs",[1115],{"title":1116,"path":1117,"stem":1118,"children":1119},"Node.js 简介","/document/nodejs/guide","document/32.nodejs/01.guide/01.index",[1120,1121,1125,1129,1133,1137,1141,1145],{"title":1116,"path":1117,"stem":1118},{"title":1122,"path":1123,"stem":1124},"模块化","/document/nodejs/guide/module","document/32.nodejs/01.guide/02.module",{"title":1126,"path":1127,"stem":1128},"fs 文件系统","/document/nodejs/guide/fs","document/32.nodejs/01.guide/03.fs",{"title":1130,"path":1131,"stem":1132},"path 路径模块","/document/nodejs/guide/path","document/32.nodejs/01.guide/04.path",{"title":1134,"path":1135,"stem":1136},"http 搭建服务器","/document/nodejs/guide/http","document/32.nodejs/01.guide/05.http",{"title":1138,"path":1139,"stem":1140},"事件循环","/document/nodejs/guide/event-loop","document/32.nodejs/01.guide/06.event-loop",{"title":1142,"path":1143,"stem":1144},"process 与环境变量","/document/nodejs/guide/process","document/32.nodejs/01.guide/07.process",{"title":1146,"path":1147,"stem":1148},"events 事件模块","/document/nodejs/guide/events","document/32.nodejs/01.guide/08.events",{"title":1150,"icon":1151,"path":1152,"stem":1153,"children":1154,"page":50},"Express","i-simple-icons-express","/document/express","document/33.express",[1155],{"title":1156,"path":1157,"stem":1158,"children":1159},"Express 简介","/document/express/guide","document/33.express/01.guide/01.index",[1160,1161,1165,1169,1173,1177],{"title":1156,"path":1157,"stem":1158},{"title":1162,"path":1163,"stem":1164},"路由","/document/express/guide/routing","document/33.express/01.guide/02.routing",{"title":1166,"path":1167,"stem":1168},"中间件","/document/express/guide/middleware","document/33.express/01.guide/03.middleware",{"title":1170,"path":1171,"stem":1172},"请求与响应","/document/express/guide/request-response","document/33.express/01.guide/04.request-response",{"title":1174,"path":1175,"stem":1176},"错误处理","/document/express/guide/error-handling","document/33.express/01.guide/05.error-handling",{"title":1178,"path":1179,"stem":1180},"RESTful 实战","/document/express/guide/restful-api","document/33.express/01.guide/06.restful-api",{"title":1182,"icon":1183,"path":1184,"stem":1185,"children":1186,"page":50},"Koa","i-simple-icons-koa","/document/koa","document/34.koa",[1187],{"title":1188,"path":1189,"stem":1190,"children":1191},"Koa 简介","/document/koa/guide","document/34.koa/01.guide/01.index",[1192,1193,1197,1201,1204,1208],{"title":1188,"path":1189,"stem":1190},{"title":1194,"path":1195,"stem":1196},"Context 上下文","/document/koa/guide/context","document/34.koa/01.guide/02.context",{"title":1198,"path":1199,"stem":1200},"中间件与洋葱模型","/document/koa/guide/middleware","document/34.koa/01.guide/03.middleware",{"title":1162,"path":1202,"stem":1203},"/document/koa/guide/routing","document/34.koa/01.guide/04.routing",{"title":1205,"path":1206,"stem":1207},"请求体与错误处理","/document/koa/guide/body-and-error","document/34.koa/01.guide/05.body-and-error",{"title":1209,"path":1210,"stem":1211},"RESTful 接口实战","/document/koa/guide/restful-api","document/34.koa/01.guide/06.restful-api",{"title":1213,"icon":1214,"path":1215,"stem":1216,"children":1217,"page":50},"Egg.js","i-lucide-egg","/document/egg","document/35.egg",[1218],{"title":1219,"path":1220,"stem":1221,"children":1222},"Egg.js 简介","/document/egg/guide","document/35.egg/01.guide/01.index",[1223,1224,1228,1232,1236,1240],{"title":1219,"path":1220,"stem":1221},{"title":1225,"path":1226,"stem":1227},"路由与 Controller","/document/egg/guide/router-controller","document/35.egg/01.guide/02.router-controller",{"title":1229,"path":1230,"stem":1231},"Service 业务逻辑","/document/egg/guide/service","document/35.egg/01.guide/03.service",{"title":1233,"path":1234,"stem":1235},"配置与中间件","/document/egg/guide/config-middleware","document/35.egg/01.guide/04.config-middleware",{"title":1237,"path":1238,"stem":1239},"插件与扩展","/document/egg/guide/plugin-extend","document/35.egg/01.guide/05.plugin-extend",{"title":1209,"path":1241,"stem":1242},"/document/egg/guide/restful-api","document/35.egg/01.guide/06.restful-api",{"title":1244,"icon":1245,"path":1246,"stem":1247,"children":1248,"page":50},"Docker","i-simple-icons-docker","/document/docker","document/36.docker",[1249],{"title":1250,"path":1251,"stem":1252,"children":1253},"Docker 简介","/document/docker/guide","document/36.docker/01.guide/01.index",[1254,1255,1259,1263,1267],{"title":1250,"path":1251,"stem":1252},{"title":1256,"path":1257,"stem":1258},"镜像与容器","/document/docker/guide/image-container","document/36.docker/01.guide/02.image-container",{"title":1260,"path":1261,"stem":1262},"数据卷","/document/docker/guide/volume","document/36.docker/01.guide/03.volume",{"title":1264,"path":1265,"stem":1266},"Dockerfile","/document/docker/guide/dockerfile","document/36.docker/01.guide/04.dockerfile",{"title":1268,"path":1269,"stem":1270},"Docker Compose","/document/docker/guide/docker-compose","document/36.docker/01.guide/05.docker-compose",{"title":1272,"icon":1273,"path":1274,"stem":1275,"children":1276,"page":50},"MySQL","i-simple-icons-mysql","/document/mysql","document/37.mysql",[1277],{"title":1278,"path":1279,"stem":1280,"children":1281},"MySQL 简介","/document/mysql/guide","document/37.mysql/01.guide/01.index",[1282,1283,1287,1291,1295,1299,1303],{"title":1278,"path":1279,"stem":1280},{"title":1284,"path":1285,"stem":1286},"增删改查","/document/mysql/guide/crud","document/37.mysql/01.guide/02.crud",{"title":1288,"path":1289,"stem":1290},"条件查询与分页","/document/mysql/guide/query","document/37.mysql/01.guide/03.query",{"title":1292,"path":1293,"stem":1294},"数据类型与约束","/document/mysql/guide/data-type","document/37.mysql/01.guide/04.data-type",{"title":1296,"path":1297,"stem":1298},"多表关联查询","/document/mysql/guide/join","document/37.mysql/01.guide/05.join",{"title":1300,"path":1301,"stem":1302},"Node.js 操作 MySQL","/document/mysql/guide/nodejs","document/37.mysql/01.guide/06.nodejs",{"title":1304,"path":1305,"stem":1306},"索引与优化","/document/mysql/guide/optimize","document/37.mysql/01.guide/07.optimize",{"title":1308,"icon":1309,"path":1310,"stem":1311,"children":1312,"page":50},"MongoDB","i-simple-icons-mongodb","/document/mongodb","document/38.mongodb",[1313],{"title":1314,"path":1315,"stem":1316,"children":1317},"MongoDB 简介","/document/mongodb/guide","document/38.mongodb/01.guide/01.index",[1318,1319,1322,1326,1330,1334,1338,1342],{"title":1314,"path":1315,"stem":1316},{"title":1284,"path":1320,"stem":1321},"/document/mongodb/guide/crud","document/38.mongodb/01.guide/02.crud",{"title":1323,"path":1324,"stem":1325},"条件查询","/document/mongodb/guide/query","document/38.mongodb/01.guide/03.query",{"title":1327,"path":1328,"stem":1329},"文档与数据类型","/document/mongodb/guide/document","document/38.mongodb/01.guide/04.document",{"title":1331,"path":1332,"stem":1333},"Node.js 操作 MongoDB","/document/mongodb/guide/nodejs","document/38.mongodb/01.guide/05.nodejs",{"title":1335,"path":1336,"stem":1337},"Mongoose","/document/mongodb/guide/mongoose","document/38.mongodb/01.guide/06.mongoose",{"title":1339,"path":1340,"stem":1341},"索引","/document/mongodb/guide/optimize","document/38.mongodb/01.guide/07.optimize",{"title":1343,"path":1344,"stem":1345},"聚合管道","/document/mongodb/guide/aggregate","document/38.mongodb/01.guide/08.aggregate",{"title":1347,"icon":1348,"path":1349,"stem":1350,"children":1351,"page":50},"GraphQL","i-simple-icons-graphql","/document/graphql","document/39.graphql",[1352],{"title":1353,"path":1354,"stem":1355,"children":1356},"GraphQL 简介","/document/graphql/guide","document/39.graphql/01.guide/01.index",[1357,1358,1362,1366,1370,1374],{"title":1353,"path":1354,"stem":1355},{"title":1359,"path":1360,"stem":1361},"类型系统","/document/graphql/guide/schema","document/39.graphql/01.guide/02.schema",{"title":1363,"path":1364,"stem":1365},"查询进阶","/document/graphql/guide/query","document/39.graphql/01.guide/03.query",{"title":1367,"path":1368,"stem":1369},"Mutation 增删改","/document/graphql/guide/mutation","document/39.graphql/01.guide/04.mutation",{"title":1371,"path":1372,"stem":1373},"Express 集成","/document/graphql/guide/express","document/39.graphql/01.guide/05.express",{"title":1375,"path":1376,"stem":1377},"前端调用","/document/graphql/guide/client","document/39.graphql/01.guide/06.client",{"title":1379,"icon":1380,"path":1381,"stem":1382,"children":1383,"page":50},"Vue2 源码","i-simple-icons-vuedotjs","/document/source-vue2","document/40.source-vue2",[1384],{"title":1385,"path":1386,"stem":1387,"children":1388},"Vue2 源码简介","/document/source-vue2/guide","document/40.source-vue2/01.guide/01.index",[1389,1390,1394,1398,1402,1406,1410,1414],{"title":1385,"path":1386,"stem":1387},{"title":1391,"path":1392,"stem":1393},"初始化流程","/document/source-vue2/guide/init","document/40.source-vue2/01.guide/02.init",{"title":1395,"path":1396,"stem":1397},"响应式原理","/document/source-vue2/guide/reactive","document/40.source-vue2/01.guide/03.reactive",{"title":1399,"path":1400,"stem":1401},"Dep 与 Watcher","/document/source-vue2/guide/dep-watcher","document/40.source-vue2/01.guide/04.dep-watcher",{"title":1403,"path":1404,"stem":1405},"异步更新与 nextTick","/document/source-vue2/guide/nexttick","document/40.source-vue2/01.guide/05.nexttick",{"title":1407,"path":1408,"stem":1409},"虚拟 DOM 与 patch","/document/source-vue2/guide/vnode-patch","document/40.source-vue2/01.guide/06.vnode-patch",{"title":1411,"path":1412,"stem":1413},"模板编译","/document/source-vue2/guide/compile","document/40.source-vue2/01.guide/07.compile",{"title":1415,"path":1416,"stem":1417},"computed 与 watch 原理","/document/source-vue2/guide/computed-watch","document/40.source-vue2/01.guide/08.computed-watch",{"title":1419,"icon":1380,"path":1420,"stem":1421,"children":1422,"page":50},"Vue3 源码","/document/source-vue3","document/41.source-vue3",[1423],{"title":1424,"path":1425,"stem":1426,"children":1427},"Vue3 源码简介","/document/source-vue3/guide","document/41.source-vue3/01.guide/01.index",[1428,1429,1433,1437,1441,1445,1449,1452],{"title":1424,"path":1425,"stem":1426},{"title":1430,"path":1431,"stem":1432},"创建与挂载","/document/source-vue3/guide/create-app","document/41.source-vue3/01.guide/02.create-app",{"title":1434,"path":1435,"stem":1436},"Proxy 响应式","/document/source-vue3/guide/reactive","document/41.source-vue3/01.guide/03.reactive",{"title":1438,"path":1439,"stem":1440},"effect 与依赖收集","/document/source-vue3/guide/effect","document/41.source-vue3/01.guide/04.effect",{"title":1442,"path":1443,"stem":1444},"ref 与 computed","/document/source-vue3/guide/ref-computed","document/41.source-vue3/01.guide/05.ref-computed",{"title":1446,"path":1447,"stem":1448},"调度器与 nextTick","/document/source-vue3/guide/scheduler-nexttick","document/41.source-vue3/01.guide/06.scheduler-nexttick",{"title":1407,"path":1450,"stem":1451},"/document/source-vue3/guide/vnode-patch","document/41.source-vue3/01.guide/07.vnode-patch",{"title":1411,"path":1453,"stem":1454},"/document/source-vue3/guide/compile","document/41.source-vue3/01.guide/08.compile",{"title":1456,"icon":1457,"path":1458,"stem":1459,"children":1460,"page":50},"性能优化","i-lucide-zap","/document/performance","document/42.performance",[1461],{"title":1462,"path":1463,"stem":1464,"children":1465},"性能优化简介","/document/performance/guide","document/42.performance/01.guide/01.index",[1466,1467,1471,1475,1479,1483],{"title":1462,"path":1463,"stem":1464},{"title":1468,"path":1469,"stem":1470},"加载优化","/document/performance/guide/loading","document/42.performance/01.guide/02.loading",{"title":1472,"path":1473,"stem":1474},"渲染优化","/document/performance/guide/rendering","document/42.performance/01.guide/03.rendering",{"title":1476,"path":1477,"stem":1478},"缓存策略","/document/performance/guide/cache","document/42.performance/01.guide/04.cache",{"title":1480,"path":1481,"stem":1482},"构建产物优化","/document/performance/guide/build","document/42.performance/01.guide/05.build",{"title":1484,"path":1485,"stem":1486},"性能指标与工具","/document/performance/guide/metrics","document/42.performance/01.guide/06.metrics",{"title":1488,"icon":1489,"path":1490,"stem":1491,"children":1492,"page":50},"前端监控","i-lucide-activity","/document/monitor","document/43.monitor",[1493],{"title":1494,"path":1495,"stem":1496,"children":1497},"前端监控简介","/document/monitor/guide","document/43.monitor/01.guide/01.index",[1498,1499,1503,1507,1511,1515],{"title":1494,"path":1495,"stem":1496},{"title":1500,"path":1501,"stem":1502},"错误采集","/document/monitor/guide/error","document/43.monitor/01.guide/02.error",{"title":1504,"path":1505,"stem":1506},"埋点与上报","/document/monitor/guide/tracking","document/43.monitor/01.guide/03.tracking",{"title":1508,"path":1509,"stem":1510},"性能数据上报","/document/monitor/guide/performance-data","document/43.monitor/01.guide/04.performance-data",{"title":1512,"path":1513,"stem":1514},"Sentry 实践","/document/monitor/guide/sentry","document/43.monitor/01.guide/05.sentry",{"title":1516,"path":1517,"stem":1518},"日志与告警","/document/monitor/guide/logging","document/43.monitor/01.guide/06.logging",{"id":1520,"title":1521,"body":1522,"description":2972,"extension":2973,"links":2974,"meta":2975,"navigation":2976,"path":1425,"seo":2977,"stem":1426,"__hash__":2978},"docs/document/41.source-vue3/01.guide/01.index.md","Vue3 源码课程简介与调试环境搭建",{"type":1523,"value":1524,"toc":2960},"minimal",[1525,1530,1546,1549,1552,1556,1559,1570,1576,1589,1595,1597,1601,1612,1627,1639,1641,1645,1652,1733,1736,1826,1851,1853,1857,1860,1866,1947,1956,1966,1969,1989,1996,2011,2466,2479,2486,2514,2520,2532,2534,2538,2541,2580,2582,2586,2589,2643,2658,2660,2664,2693,2695,2699,2704,2710,2715,2718,2728,2737,2742,2745,2750,2753,2755,2759,2775,2939,2948,2950,2956],[1526,1527,1529],"h2",{"id":1528},"引言","🎯 引言",[1531,1532,1533,1534,1538,1539,1538,1542,1545],"p",{},"这是「Vue3 源码」课程的第一篇。这门课不讲 API 怎么用，而是一起打开 Vue3 的源代码，看看你每天调用的 ",[1535,1536,1537],"code",{},"reactive","、",[1535,1540,1541],{},"ref",[1535,1543,1544],{},"watchEffect"," 背后到底发生了什么。别担心跟不上，源码里绕口的概念我们都会翻译成大白话，一次只讲一个点。",[1531,1547,1548],{},"学完本篇，你将能独立搭建一套 Vue3 源码的本地调试环境，能在浏览器里对源码打断点、单步跟踪，并且对 vuejs/core 仓库的目录结构有一张清晰的地图，知道去哪一层找你关心的问题。",[1550,1551],"hr",{},[1526,1553,1555],{"id":1554},"为什么要读-vue3-源码","🧱 为什么要读 Vue3 源码",[1531,1557,1558],{},"读源码要花时间，值不值？这一节先回答这个问题。结合日常开发，收益主要在这三件事上。",[1531,1560,1561,1565,1566,1569],{},[1562,1563,1564],"strong",{},"排查问题更有方向。"," 你一定遇到过这种情况：改了一个对象的属性，视图却不更新；或者 ",[1535,1567,1568],{},"watch"," 的回调莫名其妙多触发了一次。只熟悉 API 用法时，这类问题只能靠猜和试。读过响应式原理后，你会知道这些「怪现象」背后的机制，排查时就有明确方向。",[1531,1571,1572,1575],{},[1562,1573,1574],{},"写出更合理的代码。"," 比如理解了数据更新是「攒一批再统一渲染」之后，你就明白为什么连续多次赋值页面只刷新一次。这些不是背下来的规范，而是知道原理后的自然选择。",[1531,1577,1578,1581,1582,1584,1585,1588],{},[1562,1579,1580],{},"理解 API 的设计动机。"," Vue3 的很多设计（比如 ",[1535,1583,1541],{}," 为什么要 ",[1535,1586,1587],{},".value","）初看有些别扭，读懂源码后会明白它们是为了解决什么具体问题而存在的。这种理解也能迁移到其他框架的学习上。",[1590,1591,1592],"tip",{},[1531,1593,1594],{},"读源码不是为了面试背题，也不是要把每个函数都看懂。带着具体问题去读，读懂主干逻辑就足够受益了。",[1550,1596],{},[1526,1598,1600],{"id":1599},"版本说明","✨ 版本说明",[1531,1602,1603,1604,1607,1608,1611],{},"动手之前，先交代清楚我们读的是哪个版本、放在哪里。本课程基于 ",[1562,1605,1606],{},"Vue 3.5.x"," 的源码讲解，调试环境为 ",[1562,1609,1610],{},"Node.js v22 + pnpm","。",[1531,1613,1614,1615,1618,1619,1622,1623,1626],{},"Vue3 的源码放在 GitHub 的 ",[1562,1616,1617],{},"vuejs/core"," 仓库里。打开仓库你会发现它不是一个项目，而是很多个独立的小项目放在一起，这种组织方式叫 ",[1562,1620,1621],{},"monorepo","（单仓库多包）：响应式、渲染、编译等功能各自是一个独立的包，由 ",[1562,1624,1625],{},"pnpm"," 统一管理。",[1531,1628,1629,1630,1633,1634,1638],{},"这种拆分对读源码很友好：想看响应式，直接进 ",[1535,1631,1632],{},"reactivity"," 这个包，不用在 Vue2 那样的大仓库里跨目录翻找。如果你之前读过 ",[1635,1636,1637],"a",{"href":1386},"Vue2 源码课程","，会发现核心思想（响应式、虚拟 DOM、模板编译）是相通的，这门课会侧重 Vue3 的变化点。",[1550,1640],{},[1526,1642,1644],{"id":1643},"源码目录地图","🧭 源码目录地图",[1531,1646,1647,1648,1651],{},"版本清楚了，接下来的疑问是：这么多文件夹，我想看的东西在哪个里面？打开 vuejs/core 仓库的 ",[1535,1649,1650],{},"packages"," 目录，你会看到按职责拆分的各个包。下面这张目录地图标出了每个包的关键文件，点开文件就能看到它的职责，后面每篇都会深入其中的一部分：",[1653,1654,1655,1673,1683,1693,1703,1713,1723],"code-tree",{"default-value":1650},[1656,1657,1663],"pre",{"className":1658,"code":1659,"filename":1660,"language":1661,"meta":1662,"style":1662},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","// Vue 的入口组装：把运行时和编译器打包成你在浏览器里用的 Vue\n","packages/vue/src/index.ts","js","",[1535,1664,1665],{"__ignoreMap":1662},[1666,1667,1670],"span",{"class":1668,"line":1669},"line",1,[1666,1671,1659],{"class":1672},"syuKq",[1656,1674,1677],{"className":1658,"code":1675,"filename":1676,"language":1661,"meta":1662,"style":1662},"// 浏览器平台渲染：DOM 操作、事件绑定、createApp 的 web 版本\n","packages/runtime-dom/src/index.ts",[1535,1678,1679],{"__ignoreMap":1662},[1666,1680,1681],{"class":1668,"line":1669},[1666,1682,1675],{"class":1672},[1656,1684,1687],{"className":1658,"code":1685,"filename":1686,"language":1661,"meta":1662,"style":1662},"// 平台无关的运行时核心：组件实例、虚拟 DOM、调度器，本课程主战场之一\n","packages/runtime-core/src/component.ts",[1535,1688,1689],{"__ignoreMap":1662},[1666,1690,1691],{"class":1668,"line":1669},[1666,1692,1685],{"class":1672},[1656,1694,1697],{"className":1658,"code":1695,"filename":1696,"language":1661,"meta":1662,"style":1662},"// 响应式系统：reactive / ref / effect / computed 都在这个包，本课程主战场之一\n","packages/reactivity/src/reactive.ts",[1535,1698,1699],{"__ignoreMap":1662},[1666,1700,1701],{"class":1668,"line":1669},[1666,1702,1695],{"class":1672},[1656,1704,1707],{"className":1658,"code":1705,"filename":1706,"language":1661,"meta":1662,"style":1662},"// 平台无关的编译器：把模板解析成 AST（模板的树状结构化表示），再生成 render 函数代码\n","packages/compiler-core/src/compile.ts",[1535,1708,1709],{"__ignoreMap":1662},[1666,1710,1711],{"class":1668,"line":1669},[1666,1712,1705],{"class":1672},[1656,1714,1717],{"className":1658,"code":1715,"filename":1716,"language":1661,"meta":1662,"style":1662},"// 浏览器端编译：在 compiler-core 之上补充 DOM 相关的处理\n","packages/compiler-dom/src/index.ts",[1535,1718,1719],{"__ignoreMap":1662},[1666,1720,1721],{"class":1668,"line":1669},[1666,1722,1715],{"class":1672},[1656,1724,1727],{"className":1658,"code":1725,"filename":1726,"language":1661,"meta":1662,"style":1662},"// 各包共享的工具函数：类型判断、字符串处理等\n","packages/shared/src/index.ts",[1535,1728,1729],{"__ignoreMap":1662},[1666,1730,1731],{"class":1668,"line":1669},[1666,1732,1725],{"class":1672},[1531,1734,1735],{},"每个包的职责也可以用一张表速览：",[1737,1738,1739,1752],"table",{},[1740,1741,1742],"thead",{},[1743,1744,1745,1749],"tr",{},[1746,1747,1748],"th",{},"目录",[1746,1750,1751],{},"职责",[1753,1754,1755,1766,1776,1786,1796,1806,1816],"tbody",{},[1743,1756,1757,1763],{},[1758,1759,1760],"td",{},[1535,1761,1762],{},"packages/vue",[1758,1764,1765],{},"Vue 的入口组装，把运行时和编译器打包成你在浏览器里用的 Vue",[1743,1767,1768,1773],{},[1758,1769,1770],{},[1535,1771,1772],{},"packages/runtime-dom",[1758,1774,1775],{},"浏览器平台渲染：DOM 操作、事件绑定、createApp 的 web 版本",[1743,1777,1778,1783],{},[1758,1779,1780],{},[1535,1781,1782],{},"packages/runtime-core",[1758,1784,1785],{},"平台无关的运行时核心：组件实例、虚拟 DOM、调度器",[1743,1787,1788,1793],{},[1758,1789,1790],{},[1535,1791,1792],{},"packages/reactivity",[1758,1794,1795],{},"响应式系统：reactive / ref / effect / computed 都在这个包",[1743,1797,1798,1803],{},[1758,1799,1800],{},[1535,1801,1802],{},"packages/compiler-core",[1758,1804,1805],{},"平台无关的编译器：把模板解析成 AST，再生成 render 函数代码",[1743,1807,1808,1813],{},[1758,1809,1810],{},[1535,1811,1812],{},"packages/compiler-dom",[1758,1814,1815],{},"浏览器端编译：在 compiler-core 之上补充 DOM 相关的处理",[1743,1817,1818,1823],{},[1758,1819,1820],{},[1535,1821,1822],{},"packages/shared",[1758,1824,1825],{},"各包共享的工具函数：类型判断、字符串处理等",[1531,1827,1828,1829,1838,1839,1842,1843,1846,1847,1850],{},"其中 ",[1562,1830,1831,1834,1835,1837],{},[1535,1832,1833],{},"runtime-core"," 和 ",[1535,1836,1632],{}," 是本课程的主战场","：前者管组件和渲染，后者管整个响应式系统，其他包知道职责即可。最后把主线串起来：你写的模板先由 ",[1562,1840,1841],{},"compiler（编译器）"," 转成 render 函数，",[1562,1844,1845],{},"runtime-core（运行时核心）"," 执行 render 函数把页面渲染出来，数据变化时由 ",[1562,1848,1849],{},"reactivity（响应式系统）"," 通知页面重新渲染。后面每篇都会深入这条主线上的一个环节。",[1550,1852],{},[1526,1854,1856],{"id":1855},"调试环境搭建","🛠 调试环境搭建",[1531,1858,1859],{},"光说不练效果有限。这一节我们解决一个很实际的问题：怎么在自己电脑上把源码跑起来、还能打断点？整个过程只需要几分钟，之后每篇文章你都可以在真实的源码里验证。",[1531,1861,1862,1863,1865],{},"本课程在 ",[1562,1864,1610],{}," 环境下验证通过。先把源码拉下来并切换到 v3.5.13：",[1656,1867,1871],{"className":1868,"code":1869,"language":1870,"meta":1662,"style":1662},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# 克隆仓库（本地 Node.js 版本：v22）\ngit clone https://github.com/vuejs/core.git vue3-source\ncd vue3-source\n\n# 切换到 v3.5.13，保证你看到的代码和课程一致\ngit checkout v3.5.13\n\n# 安装依赖（monorepo 必须用 pnpm，包版本以仓库 pnpm-lock.yaml 为准）\npnpm install\n","bash",[1535,1872,1873,1878,1895,1904,1911,1917,1928,1933,1939],{"__ignoreMap":1662},[1666,1874,1875],{"class":1668,"line":1669},[1666,1876,1877],{"class":1672},"# 克隆仓库（本地 Node.js 版本：v22）\n",[1666,1879,1881,1885,1889,1892],{"class":1668,"line":1880},2,[1666,1882,1884],{"class":1883},"sYGMc","git",[1666,1886,1888],{"class":1887},"sIEYB"," clone",[1666,1890,1891],{"class":1887}," https://github.com/vuejs/core.git",[1666,1893,1894],{"class":1887}," vue3-source\n",[1666,1896,1898,1902],{"class":1668,"line":1897},3,[1666,1899,1901],{"class":1900},"swgpB","cd",[1666,1903,1894],{"class":1887},[1666,1905,1907],{"class":1668,"line":1906},4,[1666,1908,1910],{"emptyLinePlaceholder":1909},true,"\n",[1666,1912,1914],{"class":1668,"line":1913},5,[1666,1915,1916],{"class":1672},"# 切换到 v3.5.13，保证你看到的代码和课程一致\n",[1666,1918,1920,1922,1925],{"class":1668,"line":1919},6,[1666,1921,1884],{"class":1883},[1666,1923,1924],{"class":1887}," checkout",[1666,1926,1927],{"class":1887}," v3.5.13\n",[1666,1929,1931],{"class":1668,"line":1930},7,[1666,1932,1910],{"emptyLinePlaceholder":1909},[1666,1934,1936],{"class":1668,"line":1935},8,[1666,1937,1938],{"class":1672},"# 安装依赖（monorepo 必须用 pnpm，包版本以仓库 pnpm-lock.yaml 为准）\n",[1666,1940,1942,1944],{"class":1668,"line":1941},9,[1666,1943,1625],{"class":1883},[1666,1945,1946],{"class":1887}," install\n",[1590,1948,1949],{},[1531,1950,1951,1952,1955],{},"为什么必须用 pnpm 而不是 npm？vuejs/core 是 pnpm monorepo，内部各包通过 ",[1535,1953,1954],{},"workspace:"," 协议互相引用（可以简单理解为「从本仓库内部找依赖」），用 npm 安装会无法识别。",[1957,1958,1959],"warning",{},[1531,1960,1961,1962,1965],{},"monorepo 仓库依赖较多，如果遇到依赖安装报错，可以试试加 ",[1535,1963,1964],{},"--legacy-peer-deps"," 之类的宽松参数，不影响后续调试。",[1531,1967,1968],{},"安装完成后，构建一份带 sourcemap 的开发版本：",[1656,1970,1972],{"className":1868,"code":1971,"language":1870,"meta":1662,"style":1662},"# 构建开发版 vue.js（带完整警告和 sourcemap，适合调试）\npnpm run dev\n",[1535,1973,1974,1979],{"__ignoreMap":1662},[1666,1975,1976],{"class":1668,"line":1669},[1666,1977,1978],{"class":1672},"# 构建开发版 vue.js（带完整警告和 sourcemap，适合调试）\n",[1666,1980,1981,1983,1986],{"class":1668,"line":1880},[1666,1982,1625],{"class":1883},[1666,1984,1985],{"class":1887}," run",[1666,1987,1988],{"class":1887}," dev\n",[1531,1990,1991,1992,1995],{},"这里出现一个新名词 ",[1562,1993,1994],{},"sourcemap","（源码映射）。构建会把许多源码文件打包合并成一个文件，代码位置全都对不上了。sourcemap 就像一张「对照表」，浏览器靠它把打包后的代码还原回原始源码，你打断点时看到的就是源码文件本身。",[1531,1997,1998,1999,2002,2003,2006,2007,2010],{},"构建完成后，产物在 ",[1535,2000,2001],{},"packages/vue/dist/vue.global.js","。接着在 ",[1535,2004,2005],{},"packages/vue/examples"," 目录下新建一个调试页面，比如 ",[1535,2008,2009],{},"packages/vue/examples/debug/01-hello.html","：",[1656,2012,2017],{"className":2013,"code":2014,"filename":2015,"language":2016,"meta":1662,"style":1662},"language-html shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003C!DOCTYPE html>\n\u003Chtml lang=\"zh-CN\">\n\u003Chead>\n    \u003Cmeta charset=\"UTF-8\" />\n    \u003Ctitle>Vue3 源码调试\u003C/title>\n\u003C/head>\n\u003Cbody>\n    \u003Cdiv id=\"app\">\u003C/div>\n\n    \u003Cscript src=\"../../dist/vue.global.js\">\u003C/script>\n    \u003Cscript>\n        const { createApp, ref } = Vue;\n\n        const app = createApp({\n            setup() {\n                const count = ref(0);\n\n                // 两秒后修改数据，方便观察更新流程\n                setTimeout(() => {\n                    // debugger 是 JS 自带的关键字：打开开发者工具时，代码执行到这一行会自动暂停\n                    debugger;\n                    count.value++;\n                }, 2000);\n\n                return { count };\n            },\n            template: `\u003Cdiv>count: {{ count }}\u003C/div>`,\n        });\n\n        app.mount('#app');\n    \u003C/script>\n\u003C/body>\n\u003C/html>\n","01-hello.html","html",[1535,2018,2019,2036,2059,2068,2091,2112,2120,2129,2155,2159,2185,2194,2224,2229,2247,2259,2284,2289,2295,2310,2316,2324,2339,2352,2357,2371,2377,2398,2408,2413,2438,2448,2457],{"__ignoreMap":1662},[1666,2020,2021,2025,2029,2033],{"class":1668,"line":1669},[1666,2022,2024],{"class":2023},"s86vT","\u003C!",[1666,2026,2028],{"class":2027},"sd2Uz","DOCTYPE",[1666,2030,2032],{"class":2031},"s50WR"," html",[1666,2034,2035],{"class":2023},">\n",[1666,2037,2038,2041,2043,2046,2049,2052,2055,2057],{"class":1668,"line":1880},[1666,2039,2040],{"class":2023},"\u003C",[1666,2042,2016],{"class":2027},[1666,2044,2045],{"class":2031}," lang",[1666,2047,2048],{"class":2023},"=",[1666,2050,2051],{"class":2023},"\"",[1666,2053,2054],{"class":1887},"zh-CN",[1666,2056,2051],{"class":2023},[1666,2058,2035],{"class":2023},[1666,2060,2061,2063,2066],{"class":1668,"line":1897},[1666,2062,2040],{"class":2023},[1666,2064,2065],{"class":2027},"head",[1666,2067,2035],{"class":2023},[1666,2069,2070,2073,2076,2079,2081,2083,2086,2088],{"class":1668,"line":1906},[1666,2071,2072],{"class":2023},"    \u003C",[1666,2074,2075],{"class":2027},"meta",[1666,2077,2078],{"class":2031}," charset",[1666,2080,2048],{"class":2023},[1666,2082,2051],{"class":2023},[1666,2084,2085],{"class":1887},"UTF-8",[1666,2087,2051],{"class":2023},[1666,2089,2090],{"class":2023}," />\n",[1666,2092,2093,2095,2098,2101,2105,2108,2110],{"class":1668,"line":1913},[1666,2094,2072],{"class":2023},[1666,2096,2097],{"class":2027},"title",[1666,2099,2100],{"class":2023},">",[1666,2102,2104],{"class":2103},"sndM8","Vue3 源码调试",[1666,2106,2107],{"class":2023},"\u003C/",[1666,2109,2097],{"class":2027},[1666,2111,2035],{"class":2023},[1666,2113,2114,2116,2118],{"class":1668,"line":1919},[1666,2115,2107],{"class":2023},[1666,2117,2065],{"class":2027},[1666,2119,2035],{"class":2023},[1666,2121,2122,2124,2127],{"class":1668,"line":1930},[1666,2123,2040],{"class":2023},[1666,2125,2126],{"class":2027},"body",[1666,2128,2035],{"class":2023},[1666,2130,2131,2133,2136,2139,2141,2143,2146,2148,2151,2153],{"class":1668,"line":1935},[1666,2132,2072],{"class":2023},[1666,2134,2135],{"class":2027},"div",[1666,2137,2138],{"class":2031}," id",[1666,2140,2048],{"class":2023},[1666,2142,2051],{"class":2023},[1666,2144,2145],{"class":1887},"app",[1666,2147,2051],{"class":2023},[1666,2149,2150],{"class":2023},">\u003C/",[1666,2152,2135],{"class":2027},[1666,2154,2035],{"class":2023},[1666,2156,2157],{"class":1668,"line":1941},[1666,2158,1910],{"emptyLinePlaceholder":1909},[1666,2160,2162,2164,2167,2170,2172,2174,2177,2179,2181,2183],{"class":1668,"line":2161},10,[1666,2163,2072],{"class":2023},[1666,2165,2166],{"class":2027},"script",[1666,2168,2169],{"class":2031}," src",[1666,2171,2048],{"class":2023},[1666,2173,2051],{"class":2023},[1666,2175,2176],{"class":1887},"../../dist/vue.global.js",[1666,2178,2051],{"class":2023},[1666,2180,2150],{"class":2023},[1666,2182,2166],{"class":2027},[1666,2184,2035],{"class":2023},[1666,2186,2188,2190,2192],{"class":1668,"line":2187},11,[1666,2189,2072],{"class":2023},[1666,2191,2166],{"class":2027},[1666,2193,2035],{"class":2023},[1666,2195,2197,2200,2203,2206,2209,2212,2215,2218,2221],{"class":1668,"line":2196},12,[1666,2198,2199],{"class":2031},"        const",[1666,2201,2202],{"class":2023}," {",[1666,2204,2205],{"class":2103}," createApp",[1666,2207,2208],{"class":2023},",",[1666,2210,2211],{"class":2103}," ref ",[1666,2213,2214],{"class":2023},"}",[1666,2216,2217],{"class":2023}," =",[1666,2219,2220],{"class":2103}," Vue",[1666,2222,2223],{"class":2023},";\n",[1666,2225,2227],{"class":1668,"line":2226},13,[1666,2228,1910],{"emptyLinePlaceholder":1909},[1666,2230,2232,2234,2237,2239,2241,2244],{"class":1668,"line":2231},14,[1666,2233,2199],{"class":2031},[1666,2235,2236],{"class":2103}," app ",[1666,2238,2048],{"class":2023},[1666,2240,2205],{"class":1900},[1666,2242,2243],{"class":2103},"(",[1666,2245,2246],{"class":2023},"{\n",[1666,2248,2250,2253,2256],{"class":1668,"line":2249},15,[1666,2251,2252],{"class":2027},"            setup",[1666,2254,2255],{"class":2023},"()",[1666,2257,2258],{"class":2023}," {\n",[1666,2260,2262,2265,2268,2270,2273,2275,2279,2282],{"class":1668,"line":2261},16,[1666,2263,2264],{"class":2031},"                const",[1666,2266,2267],{"class":2103}," count",[1666,2269,2217],{"class":2023},[1666,2271,2272],{"class":1900}," ref",[1666,2274,2243],{"class":2027},[1666,2276,2278],{"class":2277},"smPcV","0",[1666,2280,2281],{"class":2027},")",[1666,2283,2223],{"class":2023},[1666,2285,2287],{"class":1668,"line":2286},17,[1666,2288,1910],{"emptyLinePlaceholder":1909},[1666,2290,2292],{"class":1668,"line":2291},18,[1666,2293,2294],{"class":1672},"                // 两秒后修改数据，方便观察更新流程\n",[1666,2296,2298,2301,2303,2305,2308],{"class":1668,"line":2297},19,[1666,2299,2300],{"class":1900},"                setTimeout",[1666,2302,2243],{"class":2027},[1666,2304,2255],{"class":2023},[1666,2306,2307],{"class":2031}," =>",[1666,2309,2258],{"class":2023},[1666,2311,2313],{"class":1668,"line":2312},20,[1666,2314,2315],{"class":1672},"                    // debugger 是 JS 自带的关键字：打开开发者工具时，代码执行到这一行会自动暂停\n",[1666,2317,2319,2322],{"class":1668,"line":2318},21,[1666,2320,2321],{"class":2277},"                    debugger",[1666,2323,2223],{"class":2023},[1666,2325,2327,2330,2333,2336],{"class":1668,"line":2326},22,[1666,2328,2329],{"class":2103},"                    count",[1666,2331,2332],{"class":2023},".",[1666,2334,2335],{"class":2103},"value",[1666,2337,2338],{"class":2023},"++;\n",[1666,2340,2342,2345,2348,2350],{"class":1668,"line":2341},23,[1666,2343,2344],{"class":2023},"                },",[1666,2346,2347],{"class":2277}," 2000",[1666,2349,2281],{"class":2027},[1666,2351,2223],{"class":2023},[1666,2353,2355],{"class":1668,"line":2354},24,[1666,2356,1910],{"emptyLinePlaceholder":1909},[1666,2358,2360,2364,2366,2368],{"class":1668,"line":2359},25,[1666,2361,2363],{"class":2362},"s8pZq","                return",[1666,2365,2202],{"class":2023},[1666,2367,2267],{"class":2103},[1666,2369,2370],{"class":2023}," };\n",[1666,2372,2374],{"class":1668,"line":2373},26,[1666,2375,2376],{"class":2023},"            },\n",[1666,2378,2380,2383,2386,2389,2392,2395],{"class":1668,"line":2379},27,[1666,2381,2382],{"class":2027},"            template",[1666,2384,2385],{"class":2023},":",[1666,2387,2388],{"class":2023}," `",[1666,2390,2391],{"class":1887},"\u003Cdiv>count: {{ count }}\u003C/div>",[1666,2393,2394],{"class":2023},"`",[1666,2396,2397],{"class":2023},",\n",[1666,2399,2401,2404,2406],{"class":1668,"line":2400},28,[1666,2402,2403],{"class":2023},"        }",[1666,2405,2281],{"class":2103},[1666,2407,2223],{"class":2023},[1666,2409,2411],{"class":1668,"line":2410},29,[1666,2412,1910],{"emptyLinePlaceholder":1909},[1666,2414,2416,2419,2421,2424,2426,2429,2432,2434,2436],{"class":1668,"line":2415},30,[1666,2417,2418],{"class":2103},"        app",[1666,2420,2332],{"class":2023},[1666,2422,2423],{"class":1900},"mount",[1666,2425,2243],{"class":2103},[1666,2427,2428],{"class":2023},"'",[1666,2430,2431],{"class":1887},"#app",[1666,2433,2428],{"class":2023},[1666,2435,2281],{"class":2103},[1666,2437,2223],{"class":2023},[1666,2439,2441,2444,2446],{"class":1668,"line":2440},31,[1666,2442,2443],{"class":2023},"    \u003C/",[1666,2445,2166],{"class":2027},[1666,2447,2035],{"class":2023},[1666,2449,2451,2453,2455],{"class":1668,"line":2450},32,[1666,2452,2107],{"class":2023},[1666,2454,2126],{"class":2027},[1666,2456,2035],{"class":2023},[1666,2458,2460,2462,2464],{"class":1668,"line":2459},33,[1666,2461,2107],{"class":2023},[1666,2463,2016],{"class":2027},[1666,2465,2035],{"class":2023},[1590,2467,2468],{},[1531,2469,2470,2471,2474,2475,2478],{},"为什么不用平时熟悉的 ",[1535,2472,2473],{},"\u003Cscript setup>","？它需要构建工具参与编译，而这个纯 HTML 调试页没有编译环节，直接手写 ",[1535,2476,2477],{},"setup()"," 函数反而更贴近源码真实处理的逻辑。",[1531,2480,2481,2482,2485],{},"用浏览器直接打开这个 HTML 文件，打开开发者工具（F12），页面会在 ",[1535,2483,2484],{},"debugger"," 处自动停住。然后你就可以：",[2487,2488,2489,2497,2507],"ol",{},[2490,2491,2492,2493,2496],"li",{},"在 Sources 面板中找到 ",[1535,2494,2495],{},"packages/reactivity/src/ref.ts","，sourcemap 已经把构建产物映射回了源码。",[2490,2498,2499,2500,1538,2503,2506],{},"在 ",[1535,2501,2502],{},"ReactiveEffect",[1535,2504,2505],{},"triggerRefValue"," 等函数里打上断点（点一下行号即可）。",[2490,2508,2509,2510,2513],{},"单步执行，观察 ",[1535,2511,2512],{},"count.value"," 修改后触发的调用链。",[1531,2515,2516,2517,1611],{},"这就是你未来读源码的标准动作：",[1562,2518,2519],{},"找到关键函数 → 打断点 → 单步看数据和调用栈",[1590,2521,2522],{},[1531,2523,2524,2527,2528,2531],{},[1535,2525,2526],{},"pnpm run dev"," 构建的是带 sourcemap 的开发版，适合调试。生产构建（",[1535,2529,2530],{},"pnpm run build","）会压缩代码、去掉警告，不适合学习源码。",[1550,2533],{},[1526,2535,2537],{"id":2536},"阅读方法建议","💡 阅读方法建议",[1531,2539,2540],{},"环境搭好了，怎么读才不迷路？这一节分享几条实际读源码时比较有用的习惯。",[2487,2542,2543,2555,2568,2574],{},[2490,2544,2545,2548,2549,2551,2552,2554],{},[1562,2546,2547],{},"带着具体问题去读。"," 不要从第一行开始通读。比如「改了 ",[1535,2550,1541],{}," 的 ",[1535,2553,1587],{},"，视图是怎么更新的？」带着这个问题，你自然会找到对应的那条函数调用链。",[2490,2556,2557,2560,2561,2564,2565,2567],{},[1562,2558,2559],{},"从入口往下追。"," 先找到 ",[1535,2562,2563],{},"createApp"," 的入口（",[1535,2566,1676],{},"），再顺着挂载、渲染的流程一层层深入，比漫无目的地翻文件高效得多。",[2490,2569,2570,2573],{},[1562,2571,2572],{},"配合手写迷你实现验证。"," 读到一个机制后，自己动手写一个几十行的简化版（比如迷你响应式），能写对才是真的懂了。本课程多篇都会安排这样的练习。",[2490,2575,2576,2579],{},[1562,2577,2578],{},"跳过 TS 类型与边缘分支。"," Vue3 源码是 TypeScript 写的，也就是给变量和函数标注了类型信息，阅读时可以跳过不看。课程中的源码引用也做了教学简化，去掉了类型注解和非核心分支。",[1550,2581],{},[1526,2583,2585],{"id":2584},"课程路线图","🗺 课程路线图",[1531,2587,2588],{},"环境和方法都齐了，最后看一眼完整路线。本课程共 8 篇，按「先响应式、再运行时、最后编译」的顺序展开：",[2487,2590,2591,2597,2606,2614,2620,2628,2633,2638],{},[2490,2592,2593,2596],{},[1562,2594,2595],{},"简介与环境搭建","（本篇）：目录地图与调试环境。",[2490,2598,2599,2602,2603,2605],{},[1562,2600,2601],{},"createApp 与挂载流程","：从 ",[1535,2604,2563],{}," 到组件渲染到页面上，发生了什么。",[2490,2607,2608,2010,2611,2613],{},[1562,2609,2610],{},"Proxy 响应式原理",[1535,2612,1537],{}," 如何拦截你对数据的读写。",[2490,2615,2616,2619],{},[1562,2617,2618],{},"effect 与依赖收集触发","：Vue 如何记住「谁用到了这个数据」，数据变了又如何通知。",[2490,2621,2622,2010,2625,2627],{},[1562,2623,2624],{},"ref 与 computed 原理",[1535,2626,1587],{}," 的拦截机制与 computed 的懒计算。",[2490,2629,2630,2632],{},[1562,2631,1446],{},"：批量更新、异步排队是怎么实现的。",[2490,2634,2635,2637],{},[1562,2636,1407],{},"：页面更新时，Vue 如何只改动变化的部分。",[2490,2639,2640,2642],{},[1562,2641,1411],{},"：模板 → AST → render 函数的三段式流程。",[1957,2644,2645],{},[1531,2646,2647,2648,2650,2651,2654,2655,2657],{},"本课程假设你已经熟悉 Vue3 的日常使用（Composition API、",[1535,2649,2473],{},"、响应式 API）。如果还没系统学过，建议先完成 ",[1635,2652,2653],{"href":671},"Vue3 使用课程","。读过 ",[1635,2656,1637],{"href":1386}," 更佳，可以对比理解两代的差异。",[1550,2659],{},[1526,2661,2663],{"id":2662},"小节总结","🧾 小节总结",[2665,2666,2667,2670,2673,2681,2690],"ul",{},[2490,2668,2669],{},"读 Vue3 源码的价值在于：排查问题更有方向、写出更合理的代码、理解 API 设计动机。",[2490,2671,2672],{},"课程基于 Vue 3.5.x，源码在 vuejs/core 仓库，是 pnpm 管理的 monorepo（一个仓库里放多个独立包），调试环境为 Node.js v22 + pnpm。",[2490,2674,2675,2676,1834,2678,2680],{},"源码目录中，",[1535,2677,1833],{},[1535,2679,1632],{}," 是主线，其他包按需了解即可。",[2490,2682,2683,2684,2686,2687,2689],{},"调试环境三步走：克隆仓库并切到 v3.5.13 → ",[1535,2685,2526],{}," 构建开发版 → 在 ",[1535,2688,2005],{}," 里写页面用浏览器断点调试（sourcemap 会让断点停在原始源码上）。",[2490,2691,2692],{},"读源码的有效方法是：带着具体问题、从入口往下追、配合手写迷你实现验证、跳过 TS 类型与边缘分支。",[1550,2694],{},[1526,2696,2698],{"id":2697},"知识问答","❓ 知识问答",[1531,2700,2701],{},[1562,2702,2703],{},"Q1：为什么 Vue3 源码要拆成多个 package？",[1531,2705,2706,2707,2709],{},"A：拆包后每个模块职责清晰、边界明确。比如响应式系统独立成 ",[1535,2708,1632],{}," 包后，阅读时只需专注这一个包，不用关心其他部分的实现。",[1531,2711,2712],{},[1562,2713,2714],{},"Q2：我不会用浏览器的断点调试，影响学习吗？",[1531,2716,2717],{},"A：不影响读文章本身，但建议花几分钟熟悉 Chrome DevTools 的 Sources 面板，学会打断点和单步执行。这是读源码的基本工具，之后会频繁用到。",[1531,2719,2720],{},[1562,2721,2722,2723,1834,2725,2727],{},"Q3：",[1535,2724,2526],{},[1535,2726,2530],{}," 有什么区别？",[1531,2729,2730,2731,2733,2734,2736],{},"A：",[1535,2732,2526],{}," 构建带 sourcemap 的未压缩版本，保留完整警告信息，适合调试学习。",[1535,2735,2530],{}," 构建压缩后的生产版本，去掉了警告，不适合读源码。",[1531,2738,2739],{},[1562,2740,2741],{},"Q4：课程中引用的源码和仓库里的代码完全一样吗？",[1531,2743,2744],{},"A：做了教学简化。去掉了 TypeScript 类型注解和一些边缘分支，保留核心逻辑。每处引用都会标注「简化自」哪个文件，方便你对照原始代码。",[1531,2746,2747],{},[1562,2748,2749],{},"Q5：读过 Vue2 源码课程，这门课会重复吗？",[1531,2751,2752],{},"A：核心思想（响应式、虚拟 DOM、模板编译）是相通的，但实现差异很大。这门课侧重这些变化点，相同的地方只做简要回顾。",[1550,2754],{},[1526,2756,2758],{"id":2757},"小练习","🧪 小练习",[1531,2760,2761,2762,2764,2765,2767,2768,2771,2772,2774],{},"搭建好环境后，试着完成这个练习：在 ",[1535,2763,2009],{}," 中，给页面再加一个 ",[1535,2766,1541],{}," 字段 ",[1535,2769,2770],{},"message"," 并渲染到页面上，然后在浏览器断点中观察修改 ",[1535,2773,1587],{}," 时触发的调用链。",[1656,2776,2778],{"className":1658,"code":2777,"language":1661,"meta":1662,"style":1662},"const { createApp, ref } = Vue;\n\nconst app = createApp({\n    setup() {\n        const count = ref(0);\n        // 请在这里编写代码：声明一个名为 message 的 ref\n\n        setTimeout(() => {\n            debugger;\n            // 请在这里编写代码：修改 message 的值\n        }, 2000);\n\n        return { count };\n    },\n    // 请在这里编写代码：把 message 也渲染到模板里\n    template: `\u003Cdiv>count: {{ count }}\u003C/div>`,\n});\n",[1535,2779,2780,2801,2805,2819,2828,2846,2851,2855,2868,2875,2880,2891,2895,2906,2911,2916,2931],{"__ignoreMap":1662},[1666,2781,2782,2785,2787,2789,2791,2793,2795,2797,2799],{"class":1668,"line":1669},[1666,2783,2784],{"class":2031},"const",[1666,2786,2202],{"class":2023},[1666,2788,2205],{"class":2103},[1666,2790,2208],{"class":2023},[1666,2792,2211],{"class":2103},[1666,2794,2214],{"class":2023},[1666,2796,2217],{"class":2023},[1666,2798,2220],{"class":2103},[1666,2800,2223],{"class":2023},[1666,2802,2803],{"class":1668,"line":1880},[1666,2804,1910],{"emptyLinePlaceholder":1909},[1666,2806,2807,2809,2811,2813,2815,2817],{"class":1668,"line":1897},[1666,2808,2784],{"class":2031},[1666,2810,2236],{"class":2103},[1666,2812,2048],{"class":2023},[1666,2814,2205],{"class":1900},[1666,2816,2243],{"class":2103},[1666,2818,2246],{"class":2023},[1666,2820,2821,2824,2826],{"class":1668,"line":1906},[1666,2822,2823],{"class":2027},"    setup",[1666,2825,2255],{"class":2023},[1666,2827,2258],{"class":2023},[1666,2829,2830,2832,2834,2836,2838,2840,2842,2844],{"class":1668,"line":1913},[1666,2831,2199],{"class":2031},[1666,2833,2267],{"class":2103},[1666,2835,2217],{"class":2023},[1666,2837,2272],{"class":1900},[1666,2839,2243],{"class":2027},[1666,2841,2278],{"class":2277},[1666,2843,2281],{"class":2027},[1666,2845,2223],{"class":2023},[1666,2847,2848],{"class":1668,"line":1919},[1666,2849,2850],{"class":1672},"        // 请在这里编写代码：声明一个名为 message 的 ref\n",[1666,2852,2853],{"class":1668,"line":1930},[1666,2854,1910],{"emptyLinePlaceholder":1909},[1666,2856,2857,2860,2862,2864,2866],{"class":1668,"line":1935},[1666,2858,2859],{"class":1900},"        setTimeout",[1666,2861,2243],{"class":2027},[1666,2863,2255],{"class":2023},[1666,2865,2307],{"class":2031},[1666,2867,2258],{"class":2023},[1666,2869,2870,2873],{"class":1668,"line":1941},[1666,2871,2872],{"class":2277},"            debugger",[1666,2874,2223],{"class":2023},[1666,2876,2877],{"class":1668,"line":2161},[1666,2878,2879],{"class":1672},"            // 请在这里编写代码：修改 message 的值\n",[1666,2881,2882,2885,2887,2889],{"class":1668,"line":2187},[1666,2883,2884],{"class":2023},"        },",[1666,2886,2347],{"class":2277},[1666,2888,2281],{"class":2027},[1666,2890,2223],{"class":2023},[1666,2892,2893],{"class":1668,"line":2196},[1666,2894,1910],{"emptyLinePlaceholder":1909},[1666,2896,2897,2900,2902,2904],{"class":1668,"line":2226},[1666,2898,2899],{"class":2362},"        return",[1666,2901,2202],{"class":2023},[1666,2903,2267],{"class":2103},[1666,2905,2370],{"class":2023},[1666,2907,2908],{"class":1668,"line":2231},[1666,2909,2910],{"class":2023},"    },\n",[1666,2912,2913],{"class":1668,"line":2249},[1666,2914,2915],{"class":1672},"    // 请在这里编写代码：把 message 也渲染到模板里\n",[1666,2917,2918,2921,2923,2925,2927,2929],{"class":1668,"line":2261},[1666,2919,2920],{"class":2027},"    template",[1666,2922,2385],{"class":2023},[1666,2924,2388],{"class":2023},[1666,2926,2391],{"class":1887},[1666,2928,2394],{"class":2023},[1666,2930,2397],{"class":2023},[1666,2932,2933,2935,2937],{"class":1668,"line":2286},[1666,2934,2214],{"class":2023},[1666,2936,2281],{"class":2103},[1666,2938,2223],{"class":2023},[1531,2940,2941,2942,2944,2945,2947],{},"完成后在 Sources 面板中找到 ",[1535,2943,2495],{},"，在 ",[1535,2946,2505],{}," 处打断点，观察一次修改触发了哪些函数调用。",[1550,2949],{},[1531,2951,2952,2953,2955],{},"🎉 恭喜你已经搭好 Vue3 源码的调试环境，也有了完整的课程地图！下一篇我们从 ",[1535,2954,2563],{}," 开始，一步步跟踪应用从创建到挂载的完整流程。",[2957,2958,2959],"style",{},"html pre.shiki code .syuKq, html code.shiki .syuKq{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sYGMc, html code.shiki .sYGMc{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sIEYB, html code.shiki .sIEYB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .swgpB, html code.shiki .swgpB{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .s86vT, html code.shiki .s86vT{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sd2Uz, html code.shiki .sd2Uz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .s50WR, html code.shiki .s50WR{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sndM8, html code.shiki .sndM8{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .smPcV, html code.shiki .smPcV{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .s8pZq, html code.shiki .s8pZq{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}",{"title":1662,"searchDepth":1880,"depth":1880,"links":2961},[2962,2963,2964,2965,2966,2967,2968,2969,2970,2971],{"id":1528,"depth":1880,"text":1529},{"id":1554,"depth":1880,"text":1555},{"id":1599,"depth":1880,"text":1600},{"id":1643,"depth":1880,"text":1644},{"id":1855,"depth":1880,"text":1856},{"id":2536,"depth":1880,"text":2537},{"id":2584,"depth":1880,"text":2585},{"id":2662,"depth":1880,"text":2663},{"id":2697,"depth":1880,"text":2698},{"id":2757,"depth":1880,"text":2758},"了解为什么要读 Vue3 源码，掌握 vuejs/core 仓库的目录结构与本地调试环境的搭建方法。","md",null,{},{"title":1424},{"title":1521,"description":2972},"Rt8L3V1Szw",[2980,2982],{"title":1415,"path":1416,"stem":1417,"description":2981,"children":-1},"理解 computed 缓存与 watch 监听的内部实现，弄清两者在源码层面的核心区别。",{"title":1430,"path":1431,"stem":1432,"description":2983,"children":-1},"读懂 createApp 返回的 app 是什么，掌握 mount 从创建 vnode 到首次渲染的完整流程。",1784715105021]