]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: remove initial push on exploration
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 28 Jun 2019 09:31:40 +0000 (11:31 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 28 Jun 2019 09:31:40 +0000 (11:31 +0200)
explorations/html5.ts

index 25cb6003697454ee923c21c39807452e0d2fc43a..90d21d58b9de9cb0f817dbe1810f6cee1cf6cd8a 100644 (file)
@@ -113,30 +113,25 @@ h.listen((to, from, { direction }) => {
 
 async function run() {
   // r.push('/multiple/one/two')
-
   // h.push('/hey')
   // h.push('/hey?lol')
   // h.push('/foo')
   // h.push('/replace-me')
   // h.replace('/bar')
-
   // r.push('/about')
-  await r.push('/')
-
+  // await r.push('/')
   // await r.push({
   //   name: 'user',
   //   params: {
   //     id: '6',
   //   },
   // })
-
   // await r.push({
   //   name: 'user',
   //   params: {
   //     id: '5',
   //   },
   // })
-
   // try {
   //   await r.push({
   //     params: {
@@ -146,11 +141,9 @@ async function run() {
   // } catch (err) {
   //   console.log('Navigation aborted', err)
   // }
-
   // await r.push({
   //   hash: '#hey',
   // })
-
   // await r.push('/children')
   // await r.push('/children/a')
   // await r.push('/children/b')