datepicker icon indicating copy to clipboard operation
datepicker copied to clipboard

BaseInput mixin is incorrectly imported

Open JTallis opened this issue 7 years ago • 1 comments

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.

JTallis avatar Apr 03 '17 04:04 JTallis

Guess you need these config in your.babelrc

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

luventa avatar Jun 02 '17 05:06 luventa