Closed cloydlau closed 3 years ago
Thanks for the reproduction link.
The problem is with your project setup rather than with vue-2-3. vue2
is pointing to this package which isn't actually Vue. CodeSandbox doesn't seem to support package aliasing right now so I opened a feature request here.
If your project is local, alias vue2 to the actual Vue by doing: npm install vue2@npm:vue@^2.6.12
You can see JsonEditorVue successfully run in a Vue3 app here.
Hello, I did what the doc said but error occured. (Using in Vue-Cli)
Here is the minimal reproducible demo: https://codesandbox.io/s/vigilant-leakey-u00rf?file=/src/App.vue
In Vite either: