vite-plugin-vue2
vite-plugin-vue2 copied to clipboard
Hope to support Reactivity transform
My project builds on @vue/composition-api
and unplugin-vue2-script-setup
,
unplugin-vue2-script-setup
has reactivityTransform option
ScriptSetup({
reactivityTransform: true
})
It has used a lot of $ref
, upgrade to vue 2.7 hope to support reactivity transform. Thanks.
——————————————————————————————————————————————————————————————
我的项目使用@vue/composition-api
和 unplugin-vue2-script-setup
构建,
unplugin-vue2-script-setup
具有 reactivityTransform 选项
ScriptSetup({
reactivityTransform: true
})
已经大量使用了$ref
,升级到 vue 2.7 希望可以支持 reactivity transform,谢谢。
https://github.com/vuejs/vue/pull/12609
Desperately need this 🙏 Will help the transition from 2.7 to 3 so much
We have to wait until Reactivity Transform is a stable feature and is released in v3.3.
Currently using webpack + Vue2.7, everything is great but the ".value" thing. Hope Vue2 can support Reactivity Transform ASAP
Released in unplugin-vue-macros@latest
https://vue-macros.sxzz.moe/
Great job ! Could you provide a more detailed doc? thx
You can refer to the examples
It appears that the [email protected] is not compatible with webpack, but the latest v1.2.2 seems to work well. It took me a while to figure that out. 😅 thank you all the way and I wish you a happy new year
Reactivity Transform has been dropped officially. @XioDone We can close this issue, and switch to Vue Macros