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 11# 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 )
22
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)
84
95## Quickstart
106
11- - Via CDN: ` <script src="https://unpkg.com/vue-router@next "></script> `
7+ - Via CDN: ` <script src="https://unpkg.com/vue-router@4 "></script> `
128- In-browser playground on [ CodeSandbox] ( https://codesandbox.io/s/vue-router-4-reproduction-hb9lh )
139- Add it to an existing Vue Project:
1410 ``` bash
15- npm install vue-router@next
11+ npm install vue-router@4
1612 ```
1713
1814## 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
55## HTML
66
77``` 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 >
1010
1111<div id =" app" >
1212 <h1 >Hello App!</h1 >
Original file line number Diff line number Diff line change 22
33## Direct Download / CDN
44
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 )
66
77<!-- email_off-->
88
1313## npm
1414
1515``` bash
16- npm install vue-router@next
16+ npm install vue-router@4
1717```
1818
1919## Dev Build
You can’t perform that action at this time.
0 commit comments