weexteam / vue-precompiler-for-apache-weex

vue-precompiler-for-apache-weex is a third party plugin, and is not developed nor maintained by Apache Weex.
MIT License
4 stars 7 forks source link

cannot use with HotModuleReplacementPlugin #1

Closed q757571446 closed 6 years ago

q757571446 commented 6 years ago

if i use HotModuleReplacementPlugin, it will occurs Property or method "_px2rem" is not defined on the instance but referenced during render. _vm is undifined

2017-12-17 10 31 01

q757571446 commented 6 years ago

if i use HotModuleReplacementPlugin, _vm is VueComponent(has not method $processStyle), if i remove HotModuleReplacementPlugin, _vm is Vue。

MrRaindrop commented 6 years ago

I'm not sure how is it causing the error, can you provide a example ? A github repo would be good.