0👍
If you could add some code that would be helpful.
My first thought is that you could create a directive or a mixin, to accomplish this on your different page components, keeping the code in one place. But I could be off with that, I’d be happy to help if you could provide an example.
- [Vuejs]-Why can't I pass my user_name value into my component? (Auth)
- [Vuejs]-V-show on v-for creates unwanted return transition
Source:stackexchange.com