vue-bulma / datepicker

Datepicker Component for Vue Bulma
MIT License
115 stars 56 forks source link

BaseInput mixin is incorrectly imported #33

Open JTallis opened 7 years ago

JTallis commented 7 years ago

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 commented 7 years ago

Guess you need these config in your.babelrc

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