In Vue.js application to catch the clicking on the back button on Android?

For example, the site opened on a smartphone running Android, the user opens the side menu. When you press the back button it will not work from the sidebar menu, and go to the previous page. How to catch a click on the back button?

UPD:
As it turned out it can be done, but not through VueRouter. At least I have not yet figured out how to use it to do what I needed.
There are two ways to solve the browser history:
1. To change the plugin routing
2. Manually to register the change in browser history:
https://developer.mozilla.org/ru/docs/Web/API/History
https://developer.mozilla.org/en-US/docs/Web/API/H...
https://developer.mozilla.org/en-US/docs/Web/API/W...

I made it through the crossing Vuex, the event bus and just spoofing history.
June 5th 19 at 21:56
1 answer
June 5th 19 at 21:58
I think I understand how it's done. I will understand, thank you - Lisa.Hick commented on June 5th 19 at 22:01

Find more questions by tags AndroidVue.js