babel-plugin-transform-vue-jsx
babel-plugin-transform-vue-jsx copied to clipboard
Two problem when using with vue-cli 3.0-beta.6
Thanks for providing such a cool plugin but when I use this latest version(v4.0.1) with vue-cli 3.0-beta 6:
- need to use
"presets": ["@babel/preset-env"]not"presets": ["env"]. If not, you'll encounter Error likeTypeError: Cannot read property 'bindings' of null hauto injection seems invalid, I have to manually addh: CreateElementto render function parameter. If not, output error behaviors like #65
maybe need to get updated ?
@nickmessing I'm facing the same issue
@vue/babel-helper-vue-jsx-merge-props will help you