0👍
The issue here is that the state.categories reference change. Then you need to inform Vue the reference changed.
Try using
Vue.set(state, 'categories', categories )
0👍
What is your state object looks like?
If you don’t have categories in your state object, most likely, after you add it to it, categories wont be reactive.
- [Vuejs]-How do I display data on detailpage in vue?
- [Vuejs]-Digging deeper into running .NET Core apps on IIS
Source:stackexchange.com