Is v6 is unavailable on vue2?

Hi, I am using codemirror: "5.57.0" with vue: "2.6.14"

Since our original code looks not good, (because of lots of require())
So I’d like to upgrade codemirror as 6.0.1

But someone says that codemirror6 is not working at vue2

Is it true?

No, it works fine with Vue, as long as you don’t put it in the Vue state, where Vue will screw everything up with its magic object wrapping (but the same goes for version 5).

1 Like