Subscribe on changes!

因为IE,迫不及待的使用了vue2.7,但还是缺少vue3部份属性

avatar
Jun 17th 2022

What problem does this feature solve?

因为IE,迫不及待的使用了vue2.7,但还是缺少vue3部份属性

import { resolveDirective,withDirectives,vShow,createVNode,Fragment,camelize} from 'vue'

What does the proposed API look like?

非常感谢老大还没有忘记我们 做政府业务的网站需要IE的支持,由于不能使用VUE3,最近关注到vue2.7在测试阶段,我们十分高兴,也让开发人员去尝试vue2.7的使用。但遇到了一个瓶颈。 vue2.7缺少vue3.0的部份属性 如:resolveDirective,withDirectives,vShow,createVNode,Fragment,camelize...

如果能支持这些属性,对我们来说将是非常友好的,谢谢

avatar
Jun 18th 2022

The goal of Vue 2.7 is not do be 100% compatible with Vue 3.

The goal of Vue 3 is to backport some of the bigger Vue 3 features so that people who need to stay on Vue 2 can use them.

The APIs you mentioned are implementation details unique to Vue 3 and its new vdom, and they will not be backported.