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

Vue is not defined #6

Open
ordinov opened this issue Feb 24, 2019 · 1 comment
Open

Vue is not defined #6

ordinov opened this issue Feb 24, 2019 · 1 comment

Comments

@ordinov
Copy link

ordinov commented Feb 24, 2019

Treenode.Vue line 246:

if (this.data[this.childrenProp] === undefined) {
     Vue.set(this.data, this.childrenProp, [])
}

returns ReferenceError: Vue is not defined

@anssoftinc
Copy link

Hey ordinov. Just go to your main.js and write

window.Vue=Vue;

It will fix your problem.

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

2 participants