[Vuejs]-Js the code stops working after navigating the routes without rebooting the page

0👍

You must never make a change to an element Vuejs manages because Vue won’t be aware of the change and is going to go right ahead and overwrite it in the next update cycle.

So you can try to wrapper your .select_list_radio to a new component, or better, try to think in Vue and just put jQuery away.

You can read how to safely use jQuery with Vuejs in this link: https://vuejsdevelopers.com/2017/05/20/vue-js-safely-jquery-plugin/

Leave a comment