<script>
import { aaa } from "./aaa";
...
import { nnn } from "./nnn";
export default {
data() {
return {
funMap: new Map()
};
},
computed: {
rme() {
return this.$bus.rme;
},
},
watch: {
rme() {
this.setRME();
},
},
created: function() {
this.funMap.set("aaa", aaa);
...
this.funMap.set("nnn", nnn);
},
methods: {
setRME() {
this.funMap.get(this.rme)({
xxx: "xxx",
});
},
}
};
</script>
how can I use asynchronous loading for this structure?