babel-preset-transform-react-to-vue
babel preset to transform react code to vue code
Last updated 3 years ago by rem .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-preset-transform-react-to-vue 
SYNC missed versions from official npm registry.

babel-preset-transform-react-to-vue

NPM version NPM downloads CircleCI donate

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. 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

Current Tags

  • 0.1.0                                ...           latest (3 years ago)

1 Versions

  • 0.1.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |