Skip to content

Commit ac63a6b

Browse files
committed
Added afterEach hook
1 parent af72f00 commit ac63a6b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ router.beforeEach((to, from, next) => {
3434
next();
3535
});
3636

37+
router.afterEach((to, from) => {
38+
//alert("You just navigated somewhere!");
39+
});
40+
3741
Vue.filter('currency', function(value) {
3842
let formatter = new Intl.NumberFormat('en-US', {
3943
style: 'currency',

0 commit comments

Comments
 (0)