Vue 3 - inject() can only be used inside setup or functional components

前端 未结 0 1978
抹茶落季
抹茶落季 2020-12-17 20:07

I can\'t understand why I\'m getting this error. I am trying to use the Vuex store in a composition function but it keeps throwing me this error about inject (I\'m not even

相关标签:
回答
  • 消灭零回复
提交回复
热议问题