Skip to content

Commit 239584b

Browse files
committed
chore(ci): blog sync
1 parent 0276b15 commit 239584b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Vue源码阅读——项目结构分析
3+
date: 2023-12-23T12:05:22Z
4+
summary:
5+
tags: ["Vue"]
6+
---
7+
8+
### Vue源码阅读
9+
我是故居风,因为我在某个前端交流群里谈源码被嘲讽了,我表面波澜不惊实际已经红温了,什么叫:“你一个一行一行的看过?”,我潦潦草草的看不能叫研究源码吗???你会说人话吗,你别刺激我,我现在就一行行你把原理搞清楚然后继续回群里吹niubi。
10+
11+
12+
### Vue源码结构分析
13+
14+
- .circleci: 自动化构建部署
15+
- .github: 存放GitHub相关的配置
16+
- benchmarks:性能测试文件夹
17+
- dist: 打包的文件
18+
- examples: 使用案例
19+
- flow: vue使用flow进行类型检查,此处定义静态类型
20+
- script: rollup打包文件夹
21+
- src: 主要的源码
22+
+ compiler: 模板解析,渲染相关的代码
23+
+ core: 核心代码,如生命周期,双向绑定等
24+
+ platforms: 对不同环境的支持
25+
+ server: 服务端渲染
26+
+ sfc: vue文件解析
27+
+ shared: 通用的方法与变量
28+
- test: 测试文件夹
29+
- types: ts类型声明
30+
31+
32+
33+

0 commit comments

Comments
 (0)