Jsoneditor: Porting to vuejs 2?

Created on 27 Mar 2017  路  5Comments  路  Source: josdejong/jsoneditor

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

Most helpful comment

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

All 5 comments

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.

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

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.

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shinyamade picture shinyamade  路  5Comments

bnewcomer picture bnewcomer  路  6Comments

guiferrpereira picture guiferrpereira  路  6Comments

fykcz picture fykcz  路  4Comments

realtebo picture realtebo  路  3Comments