티스토리 뷰

공부

[JS] VueJS `router-link` onclick

승가비 2020. 3. 14. 02:41
728x90
<router-link v-on:click.native="doSomethingCool" to="/">Home</router-link>

https://github.com/vuejs/vue-router/issues/800

 

Router-Link doesn't support v-on:click · Issue #800 · vuejs/vue-router

This doesn't fire the click event: Home Is this intentional? If yes, what is the recommended appro...

github.com

 

728x90

'공부' 카테고리의 다른 글

[JS] :checked selector  (0) 2020.03.14
[JS] getWidth & getHeight  (0) 2020.03.14
[SQL] split & get array index 0  (0) 2020.03.14
[sh] sudo pkill cron  (0) 2020.03.10
[Python] Beautiful Soup  (0) 2020.02.27
댓글