[Vuejs]-Axios not loading data to vue

0๐Ÿ‘

โœ…

I assume that response.data is an array or object ans vm.projekt with null there is no vue-getter registred. So please try to do

Vue.set(vm, 'projekt', response.data) there is also a $set in every vue instance (this)

instead of

vm.projekt = response.data

In general i would advise you to push ajax-datas into reactive arrays, that works very well.

Leave a comment