]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: add second guard to exploration
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 29 Apr 2019 09:37:00 +0000 (11:37 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 29 Apr 2019 09:37:00 +0000 (11:37 +0200)
explorations/html5.ts

index c4d0a9a2b03cdb52a472ea268ab58c53a6da6fef..7e0b07202068b37918b22841298dec69b12bebd7 100644 (file)
@@ -18,6 +18,11 @@ r.beforeEach((to, from, next) => {
   next()
 })
 
+r.beforeEach((to, from, next) => {
+  console.log('second guard')
+  next()
+})
+
 // const h = new HTML5History()
 // @ts-ignore
 const h = r.history