How to fix ‘Error in getter for watcher “isDark”‘ in Vue


Some time ago I developed a form with Vue, importing Vuetify as a library so to speak, despite some warnings the form worked perfectly, it stopped working showing the following error

"Error in getter for watcher" isDark ":" TypeError: this. $ vuetify.theme is undefined "

I do not know if it is due to a change of version of Vue, I already gave several turns to the problem and I find no solution

This is what I mean as I implemented vue and vuetify

<script src=""></script>
<script src=""></script>


Also, if you are getting “TypeError: this. $ vuetify.theme is undefined” when trying to move from 1.5 to 2.0, it’s like to be a case of not following the upgrade guide correctly.

See the bootstrap bit of There are some subtle changes in the examples e.g. passing ‘vuetify’ to new Vue. Not following that bit of the upgrade guide can generate the above error.

Leave a Reply

Your email address will not be published. Required fields are marked *