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

Porting to vuejs 2? #379

Closed
safaorhan opened this issue Mar 27, 2017 · 5 comments
Closed

Porting to vuejs 2? #379

safaorhan opened this issue Mar 27, 2017 · 5 comments

Comments

@safaorhan
Copy link

Is there any attempts to port this awesome library to vue?

@josdejong
Copy link
Owner

Not that I know of. Would be cool. If anyone is interested in picking this up please let me know.

There is an important limitation in the current jsoneditor API in this regard: you can only replace the JSON in the editor as a whole, you can't do a partial update. This will be addressed in the next major version v6, see #337.

@safaorhan
Copy link
Author

I'm learning Vue in these days. I'm now using JSONEditor with get/set methods. (not with reactive data and not as a separate vue component). It's still handy.

I can work on porting JSONEditor to vue someday. More specifically, after I totally understand how Vue works :)

Thanks

@josdejong
Copy link
Owner

Ok cool. Just let us know when you're about to start, to prevent someone else accidentally building a wrapper too at the same time.

@Adam-Jimenez
Copy link

Adam-Jimenez commented Mar 31, 2017

Something like this? https://github.com/Adam-Jimenez/vue2-jsoneditor/blob/master/src/components/JsonEditor.vue

I'm having a little trouble configuring webpack to build an individual vue component though. When I figure it out I'll publish it on npm.

EDIT: here's the link: https://www.npmjs.com/package/vue2-jsoneditor

@josdejong
Copy link
Owner

I guess this solves the issue? Will close it now.

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

3 participants