HcySunYang 7 жил өмнө
parent
commit
f1a3bb0b5c

+ 1 - 1
docs/.vuepress/config.js

@@ -52,7 +52,7 @@ module.exports = {
             '8vue-reactive-dep-watch',
             '9vue-state-init',
             '80vue-compiler-start',
-            '81vue-parse-ast',
+            '81vue-lexical-analysis',
             '82vue-parsing',
             '83vue-codegen',
             '84vue-vdom',

+ 1 - 1
docs/art/80vue-compiler-start.md

@@ -1,6 +1,6 @@
 # Vue 的编译器初探
 
-至此,我们对 `Vue.prototype._init` 方法所做的初始化工作基本全部讲解到了,在讲解渲染函数的观察者时,我们也讲解了渲染函数是如何生成的以及渲染函数的作用。我们打开 `src/platforms/web/entry-runtime-with-compiler.js` 文件,找到 `$mount` 方法,该方法中有这样一段代码:
+至此,我们对 `Vue.prototype._init` 方法所做的初始化工作基本全部讲解到了,在讲解渲染函数的观察者时,我们也讲解了渲染函数是如何生成的以及渲染函数的作用。接下来我们将开启新的篇章,即看一看渲染函数是如何通过编译器生成的。我们打开 `src/platforms/web/entry-runtime-with-compiler.js` 文件,找到 `$mount` 方法,该方法中有这样一段代码:
 
 ```js
 const { render, staticRenderFns } = compileToFunctions(template, {

+ 0 - 0
docs/art/81vue-parse-ast.md → docs/art/81vue-lexical-analysis.md