Results 4 comments of ccitsxy

如果是Vue3的话,可以这样 ```vue // VueVditor.vue import { onMounted, ref, watch, toRaw, onUnmounted, unref } from 'vue' import Vditor from 'vditor' import 'vditor/dist/index.css' const emit = defineEmits([ 'update:modelValue', 'after', 'focus', 'blur', 'esc',...

> 这么久都没有人处理吗, 都两个月了 最新版,按需加载还是不可用的状态。😓

https://github.com/sxzz/unplugin-vue-macros

> vue2 does not support defineComponent, could you support both vue3 and vue2? You can have a try https://github.com/sxzz/unplugin-vue-macros