2
spin
is a member of your component, so you need to access it from this
:
methods:{
hit(){
this.spin = true
}
Source:stackexchange.com
2
spin
is a member of your component, so you need to access it from this
:
methods:{
hit(){
this.spin = true
}