Skip to content

Vue-JSX babel error when using onInput #85

Description

@byrney

This is the vue-jsx boilerplate with an additional input element added.

https://codepan.net/gist/cc78568ac0a9335de179dc6b6e7188dd

The following babel error shows up in the console:

Error: This API has been removed. If you're looking for this functionality in Babel 7, you should import the '@babel/helper-module-imports' module and use the functions exposed  from that module, such as 'addNamed' or 'addDefault'.
    at e.a.addImport (https://cdn.jsdelivr.net/npm/@babel/standalone@7.0.0-beta.32/babel.min.js:1:306664)
    at e.a.addImport (https://cdn.jsdelivr.net/npm/@babel/standalone@7.0.0-beta.32/babel.min.js:1:815125)
[snipped]

The repro does not use event modifiers but maybe that feature needs to be disabled?
https://github.com/vuejs/babel-preset-vue#jsx-features says they are not supported

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions