]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: add link to examples
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 19 May 2020 10:06:02 +0000 (12:06 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 19 May 2020 10:06:06 +0000 (12:06 +0200)
[skip ci]

README.md

index dcbf34d2a51668ad359fc5d9b94938814d55bfe0..c2528ad3561d16cbef0fe6cace6de51457a306b0 100644 (file)
--- 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`