methods:{
test(){
//
import { test } from "./test.js";
EventHub.$emit("emitevent", test );
}
}
test.js
let test = "hello";
export {
test
};
looked at asynchronous components but didn"t quite understand how to use them.
excuse me, how do I use lazy loading in a method?