Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 437 Bytes

UPGRADING.md

File metadata and controls

18 lines (13 loc) · 437 Bytes

Upgrade guide

From v9.x to v10.x

  • If you have been using the plugin, you need to define the component manually now
import flatPickr from 'vue-flatpickr-component';
- app.use(flatPickr);
+ app.component('flat-pickr', flatPickr);
  • If you have been consuming this component in web browser directly via CDN
- app.component('flat-pickr', VueFlatpickr);
+ app.component('flat-pickr', VueFlatpickr.default);