Vue.js 3 | How to use vuex (with typescript)

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Please, tell me, why to the line
this.$store.commit('setAuthStatus', true)
writes an error
Vue: Property '$store' does not exist on type ...
I seem to be doing everything the same way. everything works, but the error is annoying =(

dzinashchobava
welcome to shbcf.ru