0👍
You are mixing Vue with jQuery, so when your jQuery code runs the Vue app might not be ready.
A solution could be to wrap the draggable library in a <Draggable>
component and use refs to access the DOM nodes from the mounted
hook in the Vue component.
- [Vuejs]-Feed Outside JS object into Vue.js component
- [Vuejs]-Theme Choosing on the basis of a certain API value
Source:stackexchange.com