Export an instance of vue. Created executes, but mounted does not. What is the problem?

what"s the problem?

Mar.04,2021

possible extend? for export And then new got one? If you don't use $mount, you just create an instance object, it won't be mounted, and mounted won't be executed.


mounted: function () {
    console.log(8888)
    this.$nextTick(function () {
        console.log(9999)
    })
}

vue version 2.0 or above

Menu