Skip to content

Commit

Permalink
Vue-router源码解析更新
Browse files Browse the repository at this point in the history
  • Loading branch information
yzsunlei committed Dec 29, 2019
1 parent a883000 commit eeabe01
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 39 deletions.
2 changes: 1 addition & 1 deletion 2.1.Vue-router源码结构说明.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ src
└ install.js //插件安装方法
```

## 参考
## 相关
- [https://router.vuejs.org/zh/](https://router.vuejs.org/zh/)
- [https://www.cnblogs.com/caizhenbo/p/7297730.html](https://www.cnblogs.com/caizhenbo/p/7297730.html)
- [https://www.cnblogs.com/zhangycun/p/9403339.html](https://www.cnblogs.com/zhangycun/p/9403339.html)
Expand Down
11 changes: 1 addition & 10 deletions 2.2.Vue-router使用过程分析.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
---
layout: post
title: 2.2.Vue-router使用过程分析
category: 写教程
tag: vue-router
exception:
readtime: 12
---

## 注册

## 组件调用

## 对象调用

## 小结
## 小结
15 changes: 5 additions & 10 deletions 2.3.Vue-router基本实现原理.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
---
layout: post
title: 2.3.Vue-router实现原理
category: 写教程
tag: vue-router
exception:
readtime: 8
---

## vue-router使用示例

## vue-router路由原理
Expand Down Expand Up @@ -232,4 +223,8 @@ export class History {
}
```
## 小结
## 小结
## 相关
9 changes: 0 additions & 9 deletions 2.4.Vue-router匹配机制解析.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
---
layout: post
title: 2.4.Vue-router匹配机制解析
category: 写教程
tag: vue-router
exception:
readtime: 8
---

## vue-router路由配置
```javascript
// 字符串
Expand Down
9 changes: 0 additions & 9 deletions 2.5.Vue-router高级功能分析.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
---
layout: post
title: 2.4.Vue-router高级功能分析
category: 写教程
tag: vue-router
exception:
readtime: 12
---

## 高级功能
强大的路由钩子,包含处理路由前置或拦截的前置钩子,路由后置的钩子,全局 钩子等。
路由元信息,在路由配置中携带一些原信息,可有效的完成路由权限等功能。
Expand Down

0 comments on commit eeabe01

Please sign in to comment.