Reqiure ('a.js') in the Vue method. Will repeated calls to this method repeatedly load a.js?

reqiure ("a.js") in the Vue method. Will repeated calls to this method repeatedly load a.js?

related codes

    c() {
        require("a.js")
    },
    a() {
        this.c()
    },
    b() {
        this.c()
    },


Jun.05,2021

No, it has been packaged once, and then the method is only called repeatedly, and the code will not reload

.
Menu