Setting up new Vuetfy 2 Beta 7 - Error in getter for watcher “isDark”

后端 未结 1 1148
暖寄归人
暖寄归人 2021-01-22 05:32

I am using 2.0.0-beta.7 version of vuetify on a newly setup Vue project. I am getting below errors

Error in getter for watcher \"isDark\": \"TypeError: Cannot re         


        
相关标签:
1条回答
  • 2021-01-22 05:50
    new Vue({
      router,
      store,
      Vuetify,
      render: h => h(App)
    })
    

    It has to be lowercase here:

    import vuetify from './plugins/vuetify'
    
    new Vue({
      router,
      store,
      vuetify,
      render: h => h(App)
    })
    
    0 讨论(0)
提交回复
热议问题