Skip to content

Commit 5717225

Browse files
committed
Add VueRouter doc
1 parent c3aab2d commit 5717225

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

docs/en/api/router/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# VueRouter
2+
3+
4+
## Plugin
5+
6+
VueRouter has an `install` static method so it can be used as a plugin:
7+
8+
``` js
9+
Vue.install(VueRouter)
10+
```
11+
12+
## Constructor
13+
14+
- [constructor](api/router/constructor.md)
15+
16+
## Instance methods
17+
18+
- [currentRoute](api/router/current-route.md)
19+
- [beforeEach](api/router/before-each.md)
20+
- [afterEach](api/router/after-each.md)
21+
- [push](api/router/push.md)
22+
- [replace](api/router/replace.md)
23+
- [go](api/router/go.md)
24+
- [back](api/router/back.md)
25+
- [forward](api/router/back.md)
26+
- [getMatchedComponents](api/router/get-matched-components.md)

0 commit comments

Comments
 (0)