[Vuejs]-How to make two divs resizable only by width in vuejs

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.

Leave a comment