[Vuejs]-How to trigger a function when page is changed in vuejs

0👍

Do you want to trigger the function from one page and let it execute on another one?
Otherwise you could use lifecycle hooks as mounted() or created() when page loads. It will trigger a function as soon as page is loaded.

Leave a comment