div @click="onClick"><router-link :to="{ query: { q: val}}">{{val}}</router-link></div> to <router-link :to="{ query: { q: val}}" onClick>{{val}}</router-link> · Issue #896 · vuejs/vue-router · GitHub
![Complete Vue Router 4 Guide: Basics, Programmatic Routing, Navigation Guards, Transition Effects and Composition API | by OnlyKiosk Dev Tech | Level Up Coding Complete Vue Router 4 Guide: Basics, Programmatic Routing, Navigation Guards, Transition Effects and Composition API | by OnlyKiosk Dev Tech | Level Up Coding](https://miro.medium.com/v2/resize:fit:2000/1*SSrMc_phDcFyFa-4XA-noA.png)
Complete Vue Router 4 Guide: Basics, Programmatic Routing, Navigation Guards, Transition Effects and Composition API | by OnlyKiosk Dev Tech | Level Up Coding
![Complete Vue Router 4 Guide: Basics, Programmatic Routing, Navigation Guards, Transition Effects and Composition API | by OnlyKiosk Dev Tech | Level Up Coding Complete Vue Router 4 Guide: Basics, Programmatic Routing, Navigation Guards, Transition Effects and Composition API | by OnlyKiosk Dev Tech | Level Up Coding](https://miro.medium.com/v2/resize:fit:1400/1*fPTLGAHRNAhbeGd39zmMIw.png)
Complete Vue Router 4 Guide: Basics, Programmatic Routing, Navigation Guards, Transition Effects and Composition API | by OnlyKiosk Dev Tech | Level Up Coding
![How can I edit this button to have when click it goes to the contact that is at the bottom of the page? : r/vuejs How can I edit this button to have when click it goes to the contact that is at the bottom of the page? : r/vuejs](https://preview.redd.it/pbctib67m2771.png?width=297&format=png&auto=webp&s=a2749ebdc6c319797cfc1d9c4e07f3b657d81019)