Skip to content

Can't $mount in "created"-hook after 2.1.5 #4693

@komakino

Description

@komakino

Vue.js version

Stopped working in 2.1.5. Same thing up to 2.1.8(latest ATTOW)

Reproduction Link

2.1.4 => http://codepen.io/anon/pen/mRPypw
2.1.5 => http://codepen.io/anon/pen/OWNPQQ

Steps to reproduce

Try to mount a Vue instance from the created-hook

It does work if you wrap $mount in a $nextTick

What is Expected?

The instance should be mounted

What is actually happening?

En error is thrown: Uncaught ReferenceError: _c is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions