From: Eduardo San Martin Morote Date: Mon, 29 Apr 2019 09:37:00 +0000 (+0200) Subject: chore: add second guard to exploration X-Git-Tag: v4.0.0-alpha.0~429 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dd3a22c9ffbdfad469a96d654b6f3ac4580d88a;p=thirdparty%2Fvuejs%2Frouter.git chore: add second guard to exploration --- diff --git a/explorations/html5.ts b/explorations/html5.ts index c4d0a9a2..7e0b0720 100644 --- a/explorations/html5.ts +++ b/explorations/html5.ts @@ -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