Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
komakino opened this issue Jan 11, 2017 · 0 comments
Closed

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

komakino opened this issue Jan 11, 2017 · 0 comments

Comments

@komakino
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant