Novelty Plastic Moustache

    @vue/babel-preset-jsx

    1.2.4 • 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 babel.config.js:

    module.exports = {
      presets: ['@vue/babel-preset-jsx'],
    }

    You can toggle specific features, by default all features (except compositionAPI) are enabled, e.g.:

    module.exports = {
      presets: [
        [
          '@vue/babel-preset-jsx',
          {
            vModel: false,
            compositionAPI: true,
          },
        ],
      ],
    }

    Options are:

    Keywords

    none

    Install

    npm i @vue/babel-preset-jsx

    DownloadsWeekly Downloads

    1,357,128

    Version

    1.2.4

    License

    MIT

    Unpacked Size

    3.7 kB

    Total Files

    3

    Last publish

    Collaborators

    • yyx990803
    • soda
    • nickmessing