Am using Vuejs for not too long. I have a little problem with the ‘beforeEach’ function for the router.
Here is my code:
Below you see the ‘beforeEach’ function just very simple console.log a ‘hello’ message. But when ever i go to a route it doesn’t console.log anything.
Am I placing it in a wrong section?
Ty for reading this.