Skip to content

Commit 77411a7

Browse files
authored
Update README.md
1 parent 6078e94 commit 77411a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,11 @@ export default {
164164
// before redirecting to another route with same path
165165
// You can use `this` inside of this hook
166166
},
167+
168+
mounted() {
169+
// Output current route object with name, path etc.
170+
console.log(this.$route);
171+
},
167172
};
168173
</script>
169174
```

0 commit comments

Comments
 (0)