0👍
Thats because you read value from store directly here return this.$store.state.links
. This way it is not reactive and also anitpattern, because you should not access store like that.
You should create getter to get value and then it should be ok.
- [Vuejs]-Convert Laravel signed route that pushes data to signed route with Vue component that pulls data
- [Vuejs]-Vue.js css and js declared in index.html are not working
0👍
The problem was that I was not updating the array in my store in a way that Vue observes to trigger a view update, as nada correctly pointed out.
You can see here for more details: vuejs.org/v2/guide/list.html#Array-Change-Detection
- [Vuejs]-Laravel vue Column not found: 1054 Unknown
- [Vuejs]-Vue.js css and js declared in index.html are not working
Source:stackexchange.com