- question
the parent component defines a variable value through Vuex, and the child component uses this variable to decide which component to load.
import store from "../stores"
const tab01=store.state.tab;
console.log("tab01name",store.state.tab);
var tab2 = require(`./${tab01}.vue`)
tab01 value is underfined