From 60b65f42062e387638566c24d9d39f2680d34b03 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Tue, 19 May 2020 12:06:02 +0200 Subject: [PATCH] docs: add link to examples [skip ci] --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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` -- 2.47.3