From: Eduardo San Martin Morote Date: Tue, 19 May 2020 10:06:02 +0000 (+0200) Subject: docs: add link to examples X-Git-Tag: v4.0.0-alpha.12~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60b65f42062e387638566c24d9d39f2680d34b03;p=thirdparty%2Fvuejs%2Frouter.git docs: add link to examples [skip ci] --- diff --git a/README.md b/README.md index dcbf34d2..c2528ad3 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ The current codebase has most of the existing features on Vue Router v3.x and is Since the library is still unstable **and because we want feedback** on bugs and missing features, **it will probably go through a few breaking changes**. +Check the [playground](https://github.com/vuejs/vue-router-next/tree/master/playground) or [e2e tests](https://github.com/vuejs/vue-router-next/tree/master/e2e/modal) for a usage example. + ## Known issues ### Breaking changes compared to vue-router@3.x @@ -64,7 +66,7 @@ These are technically breaking changes but they fix an inconsistent behavior. { path: '/parent', children: [{ path: '', redirect: 'home' }, { path: 'home' }], - } + }, ] // with let routes = [ @@ -74,8 +76,8 @@ These are technically breaking changes but they fix an inconsistent behavior. { path: '', redirect: { name: 'home' } }, { path: 'home', name: 'home' }, ], - } - ] + }, + ] ``` Note this will work if `path` was `/parent/` as the relative location `home` to `/parent/` is indeed `/parent/home` but the relative location of `home` to `/parent` is `/home`