File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 1
1
# vue-router-next [ ![ release candidate] ( https://img.shields.io/npm/v/vue-router/next.svg )] ( https://www.npmjs.com/package/vue-router/v/next ) [ ![ CircleCI] ( https://circleci.com/gh/vuejs/vue-router-next.svg?style=svg )] ( https://circleci.com/gh/vuejs/vue-router-next )
2
2
3
- ## Status: Release Candidate
4
-
5
- - Most RFCs have been merged.
6
- - All [ merged RFCs] ( https://github.com/vuejs/rfcs/pulls?q=is%3Apr+is%3Amerged+label%3A3.x+label%3Arouter ) have been implemented.
7
- - [ Documentation] ( https://next.router.vuejs.org ) .
3
+ This is the repository for Vue Router 4 (for Vue 3)
8
4
9
5
## Quickstart
10
6
11
- - Via CDN: ` <script src="https://unpkg.com/vue-router@next "></script> `
7
+ - Via CDN: ` <script src="https://unpkg.com/vue-router@4 "></script> `
12
8
- In-browser playground on [ CodeSandbox] ( https://codesandbox.io/s/vue-router-4-reproduction-hb9lh )
13
9
- Add it to an existing Vue Project:
14
10
``` bash
15
- npm install vue-router@next
11
+ npm install vue-router@4
16
12
```
17
13
18
14
## Changes from Vue Router 3
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ Creating a Single-page Application with Vue + Vue Router feels natural: with Vue
5
5
## HTML
6
6
7
7
``` html
8
- <script src =" https://unpkg.com/vue@next " ></script >
9
- <script src =" https://unpkg.com/vue-router@next " ></script >
8
+ <script src =" https://unpkg.com/vue@4 " ></script >
9
+ <script src =" https://unpkg.com/vue-router@4 " ></script >
10
10
11
11
<div id =" app" >
12
12
<h1 >Hello App!</h1 >
Original file line number Diff line number Diff line change 2
2
3
3
## Direct Download / CDN
4
4
5
- [ https://unpkg.com/vue-router@next ] ( https://unpkg.com/vue-router@next )
5
+ [ https://unpkg.com/vue-router@4 ] ( https://unpkg.com/vue-router@4 )
6
6
7
7
<!-- email_off-->
8
8
13
13
## npm
14
14
15
15
``` bash
16
- npm install vue-router@next
16
+ npm install vue-router@4
17
17
```
18
18
19
19
## Dev Build
You can’t perform that action at this time.
0 commit comments