1👍
The fix is that these properties should be declared as computed properties, instead of returning them in the data
object:
in Account.vue:
module.exports = {
data: function() {
return {
}
},
computed: {
firstname: function() { return this.$store.state.user.firstname },
lastname: function() { return this.$store.state.user.lastname }
},
…
- [Vuejs]-Error in rendering in VueJS and Laravel mix
- [Vuejs]-Vue.js event emitted by child component does not reach parent
Source:stackexchange.com