0👍
Why do you write '$q.screen.width'
?
Try this:
watch(() => this.$q.screen.width, setMiniState)
- [Vuejs]-How to enable dark mode using darkreader package in Vue js website?
- [Vuejs]-How to bind image src path to backend data in vue js
Source:stackexchange.com