Vue 3 support
Yakoot opened this issue · 10 comments
Yakoot commented
are you planning to support vue 3?
isatis-summer commented
+1
lucklygaj commented
+1
lucklygaj commented
+1
lucklygaj commented
+1
Mvsvh commented
+1
Longgererer commented
+1,+1 AAAAAAAAAnd +1!!!
sweco-dkjesh commented
It seems vue-codemirror is very close to Vue3 compliant.
I found 3 things needed to be done to make it work:
- remove
content
,codemirror
andcmintance
from data - change
beforeDestroy
=>beforeUnmount
- Handle typescript errors
E.g. by ignoring (not the best option / but the simple one)
//@ts-ignore
import { codemirror } from "vue-codemirror";
WWQ-CODE commented
什么时候能支持一下呢
rennzhang commented
surmon-china commented