2👍
✅
Remove the quotation marks from ‘false’ in your JS.
new Vue({
el: '#app',
data () {
return {
sideNav: null,
}
},
created () {
this.sideNav=false;
}
})
1👍
Just remove created hook
problem solved,
previously on your created hook you already have a value “this.sideNav=false;”
on it so it is a valid sideNav value and so drawer is activated
👤kat
Source:stackexchange.com