-
Notifications
You must be signed in to change notification settings - Fork 21
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
Using he-tree-vue with nuxt throws an error on draggable on refresh #7
Comments
Does the page be refreshed by hot reload? I created a nuxt project with he-tree-vue 1.1.2, it works well with hot reload. Could you create a reproduce or show your code? |
It renders very well no problems with that. For the first time when I drag an element it works fine. I think it got to do with the way the code is setting the id's so in nuxt Personal opinion: |
I got that, let me check. |
fixed in 1.1.4 the issue is nuxt does not update template with latest id. So I reassign treeId after mounted. |
First off thanks a lot for great work.
I'm using he-tree-vue in my nuxt project, this works perfectly when the server just started. But once the page is refreshed it shows the following error when dragging.
The text was updated successfully, but these errors were encountered: