Skip to content

Commit

Permalink
Vue源码结构说明
Browse files Browse the repository at this point in the history
  • Loading branch information
yzsunlei committed Dec 18, 2019
1 parent 049265d commit ec56456
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions 1.1.Vue源码结构说明.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
## vue 简介
* Vue (读音 /vjuː/,类似于 view) 是一套用于构建用户界面的渐进式框架。
Vue (读音 /vjuː/,类似于 view) 是一套用于构建用户界面的渐进式框架。

## vue 源码结构
* 我们使用git工具下载最新的vue源码([https://github.com/vuejs/vue.git](https://github.com/vuejs/vue.git))。 目前最新的版本2.6.10,后面的代码分析都使用该版本。
我们使用git工具下载最新的vue源码([https://github.com/vuejs/vue.git](https://github.com/vuejs/vue.git))。 目前最新的版本2.6.10,后面的代码分析都使用该版本。

* 我们先大致看一下vue项目的目录结构:
我们先大致看一下vue项目的目录结构:

![vue 项目目录结构](./images/vue-1-1.png)

* 对目录的一些简要说明如下:
对目录的一些简要说明如下:

```
├ benchmarks // 静态资源目录
Expand All @@ -22,14 +22,14 @@
└ types // types类型文件目录
```

* 其中我们重点要分析的就是src源码目录代码和examples示例目录代码。
其中我们重点要分析的就是src源码目录代码和examples示例目录代码。

## vue 解析要点
* 这里我们只看vue项目的src源码目录:
这里我们只看vue项目的src源码目录:

![vue 项目src源码目录结构](./images/vue-1-2.png)

* 对目录文件的一些简要说明如下:
对目录文件的一些简要说明如下:

```
src
Expand Down

0 comments on commit ec56456

Please sign in to comment.