babel-plugin-transform-vue-jsx
babel-plugin-transform-vue-jsx copied to clipboard
diffrent behavior of babel-plugin-transform-vue-jsx
I use the element libaray,in the libaray,i found a diffrent behavior of babel-plugin-transform-vue-jsx.
in the element libaray,there are such code:
let template = <div class='el-pagination'></div>;
when i use transform-vue-jsx 3.5.0, the result is
var template = h(
'div',
{ 'class': 'el-pagination' },
[]
);
when i use transform-vue-jsx 3.5.1 the result is
var template = h('div', { 'class': 'el-pagination' });
so in transform-vue-jsx 3.5.1 the template.children is undefined then the web run error. but in transform-vue-jsx 3.5.0 the code run well. i haven't the right to change the library's code . can anyone help me ,how to resolve the problem.
