0👍
Remove the quotes from openPopup in your data. It is being treated as a string.
data () {
return { openPopup: 1 }
},
0👍
Something wrong in other place. Your code is working fine ( if u fix multiple root elements ).
here it is on codesandbox
Source:stackexchange.com