babel-preset-transform-react-to-vue
This preset include babel-plugin-transform-react-to-vue and some other essential plugins for this plugin like syntax-jsx
syntax-object-rest-spread
syntax-class-properties
Install
yarn add babel-preset-transform-react-to-vue --dev
Usage
"presets": "transform-react-to-vue"
Note that it does not really transform object-rest-spread
jsx
and class-properties
, you still need corresponding plugins for them.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
babel-preset-transform-react-to-vue © egoist, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).
egoist.moe · GitHub @egoist · Twitter @_egoistlily