File tree Expand file tree Collapse file tree 3 files changed +15
-27
lines changed Expand file tree Collapse file tree 3 files changed +15
-27
lines changed Original file line number Diff line number Diff line change 3
3
[ https://vue3js.cn/ ] ( https://vue3js.cn/ )
4
4
5
5
如果你有优秀的资源,欢迎通过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 " >
Original file line number Diff line number Diff line change 1
1
---
2
- home : true
3
- heroImage : https://vue-js.com/public/images/vue.png
2
+ # home: false
4
3
actionText : Get Started
5
4
actionLink : http://vue3js.cn/vue-composition/
6
5
footer : MIT Licensed | Copyright @ 2020-present Vue3js.cn 京ICP备15001338号-6
Original file line number Diff line number Diff line change 60
60
61
61
` run time ` 可以理解为程序运行时,即是程序被编译了之后,打开程序并运行它直到程序关闭的这段时间的系列处理
62
62
63
- ### 从一个例子开始
63
+ ### 模块关系图
64
64
65
65
``` 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
+ + -------------------- -+ + ---------------------- + + ------------------ -+
75
79
```
76
- <a href =" /run/start " target =" _blank " >亲自试一试</a >
77
-
78
- 那么 ` createApp ` 里面都干了么哈呢?我们可以看一下全局 ` api `
You can’t perform that action at this time.
0 commit comments