#Vuex not working in child component's.
[issue link]Everything is working fine when it comes to #Vuex and #Single component. but in child component’s #Vuex store doesn’t seem to be working.
default.vue
import { mapGetters } from ‘vuex’ // core: vue.js #VUEX store.
export default {
name: ‘layout-default’,
computed: {
…mapGetters([
‘mod’,
‘glyph’,
‘static’
])
},
/*
HOOK’S
*/
beforeCreate: async function () {
await this.$store.dispatch(‘jsonToStore’)
}
}
beforelogin.vue
same as default.vue