Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Custom directive passed through a slot with v-else isn't unbound on vm.$destroy #2206
Apologies for the long title, here's a JSFiddle.
Here are the steps to reproduce it, JSFiddle references in brackets:
If you remove
<div v-if="someExpression"></div> <slot v-else></slot>
<div v-if="someExpression"></div> <slot v-if="!someExpression"></slot>
Tested with latest (1.0.15) version.