Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BaseInput mixin is incorrectly imported #33

Open
JTallis opened this issue Apr 3, 2017 · 1 comment
Open

BaseInput mixin is incorrectly imported #33

JTallis opened this issue Apr 3, 2017 · 1 comment

Comments

@JTallis
Copy link

JTallis commented Apr 3, 2017

index.vue is unable to correctly use the BaseInput mixin because of this http://stackoverflow.com/questions/33505992/babel-6-changes-how-it-exports-default

In order to make it work I have to change mixins: [BaseInput] to mixins: [BaseInput.default] but this never used to be the case. Something is going on and I haven't a clue how to fix it.

@luventa
Copy link
Member

luventa commented Jun 2, 2017

Guess you need these config in your.babelrc

{
  "presets": [
    ["es2015", { "modules": false }],
    "stage-2"
  ],
  "plugins": [
    "transform-export-extensions"
  ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants