1// add scroll to top when a is clicked (routes)
2<a @click="scrollToTop(), goToPricing()">Pricing</a>
3
4 methods: {
5 scrollToTop() {
6 window.scrollTo(0, 0);
7 }, goToPricing() {
8 this.$router.push('/pricing');
9 }
10 }