Skip to content

Commit 8954d2a

Browse files
author
febobo
committed
update global
1 parent e26696a commit 8954d2a

File tree

3 files changed

+15
-27
lines changed

3 files changed

+15
-27
lines changed

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,3 @@
33
[https://vue3js.cn/](https://vue3js.cn/)
44

55
如果你有优秀的资源,欢迎通过PR或者issues的形式告知我们! 感谢
6-
7-
8-
9-
vue3源码系列正在加急赶稿中, 需要及时了解源码进度可以扫下方二维码关注公众号
10-
11-
<img src="https://static.vue-js.com/FoACtDzI5t3Bm4VIrZA3cVm1y7o4" width="180px">
12-
13-
14-
15-
也可以加小萌猫微信拉你入群,参于我们,备注`vue3js`
16-
17-
<img src="https://static.vue-js.com/Fr6pvXKNio5Pe4kEHk0ufXdZ1sHT" width="180px">

docs/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
2-
home: true
3-
heroImage: https://vue-js.com/public/images/vue.png
2+
# home: false
43
actionText: Get Started
54
actionLink: http://vue3js.cn/vue-composition/
65
footer: MIT Licensed | Copyright @ 2020-present Vue3js.cn 京ICP备15001338号-6

docs/global/index.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,20 @@
6060

6161
`run time` 可以理解为程序运行时,即是程序被编译了之后,打开程序并运行它直到程序关闭的这段时间的系列处理
6262

63-
### 从一个例子开始
63+
### 模块关系图
6464

6565
```js
66-
const HelloVueApp = {
67-
data() {
68-
return {
69-
message: 'Hello Vue!'
70-
}
71-
}
72-
}
73-
74-
Vue.createApp(HelloVueApp).mount('#hello-vue')
66+
+---------------------+ +----------------------+
67+
| | | |
68+
+------------>| @vue/compiler-dom +--->| @vue/compiler-core |
69+
| | | | |
70+
+----+----+ +---------------------+ +----------------------+
71+
| |
72+
| vue |
73+
| |
74+
+----+----+ +---------------------+ +----------------------+ +-------------------+
75+
| | | | | | |
76+
+------------>| @vue/runtime-dom +--->| @vue/runtime-core +--->| @vue/reactivity |
77+
| | | | | |
78+
+---------------------+ +----------------------+ +-------------------+
7579
```
76-
<a href="/run/start" target="_blank">亲自试一试</a>
77-
78-
那么 `createApp` 里面都干了么哈呢?我们可以看一下全局 `api`

0 commit comments

Comments
 (0)