WARNING: the constructor "new JSONEditor(...)" is deprecated since v1. Please use "createJSONEditor(...)" instead. · Issue #98 · cloydlau/json-editor-vue (original) (raw)
Before you start, please make sure to:
- Read the document
- Have tried the latest version
- Search to see if your issue already exists
Link to minimal reproduction
https://cloydlau.github.io/playground/json-editor-vue/
Validation
- ⚠️ I understand that invalid, incomplete or superfluous reproduction can lead to this issue being closed
Describe the bug and steps to reproduce
I use nuxthub and nuxt devtools, each time there's an instance of jsoneditor-vue created I have this warning.
Looking to the vanilla-jsoneditor I see there's a breaking change in v1 and it's the origin of the warning.
I will create a PR to fix the warning !
Thanks for this module ❤️
System Info
No response
Package Manager
pnpm