Need private packages and team management tools?Check out npm Teams »

@vue/babel-preset-jsx

1.1.2 • Public • Published

@vue/babel-preset-jsx

Configurable preset for Vue JSX plugins.

Babel Compatibility Notes

Usage

Install the dependencies:

# for yarn: 
yarn add @vue/babel-preset-jsx @vue/babel-helper-vue-jsx-merge-props
# for npm: 
npm install @vue/babel-preset-jsx @vue/babel-helper-vue-jsx-merge-props --save

In your .babelrc:

{
  "presets": ["@vue/babel-preset-jsx"]
}

You can toggle specific features, by default all features are enabled, e.g.:

{
  "presets": [
    [
      "@vue/babel-preset-jsx",
      {
        "vModel": false
      }
    ]
  ]
}

Options are:

Keywords

none

Install

npm i @vue/babel-preset-jsx

DownloadsWeekly Downloads

676,984

Version

1.1.2

License

MIT

Unpacked Size

2.85 kB

Total Files

3

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar