0
As I understand correctly, you need to call $('.element').dropdown()
manually, right after v-if
takes effect and shows element.
Personally, I’d extract this element into component and call $('.element').dropdown()
in mounted()
lifecycle event, but there are other ways to do it of course
Source:stackexchange.com