When defining a prop default in the form: @Prop theProp:boolean = false; where the value assigned should be treated as a default. It would not be removed from data. Cause vue error because the variavle was double set (once by prop, once by data).
Fixed by changing if(!props[key]) to if(props[key] == null)
When defining a prop default in the form:
@Prop theProp:boolean = false;
where the value assigned should be treated as a default. It would not be removed from data. Cause vue error because the variavle was double set (once by prop, once by data).Fixed by changing
if(!props[key])
toif(props[key] == null)
Fixed in 0.5.0, non-breaking