Awesome
babel-plugin-vidom-jsx
Plugin for babel to enable JSX in Vidom.
Installation
npm i --save-dev babel-plugin-vidom-jsx
Usage
via CLI
babel --plugins vidom-jsx file.js
via babel.rc
{
"plugins": ["vidom-jsx"]
}
Options
autoRequire=true
By default plugin automatically adds necessaryimport
but you can disable this behaviour and plugin will usevidom
reference inside current scope.