nuxt-flatpickr

Nuxt module for flatpickr datepicker

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
nuxt-flatpickr
0.0.26 years ago6 years agoMinified + gzip package size for nuxt-flatpickr in KB

Readme

nuxt-flatpickr
npm (scoped with tag) npm CircleCI Codecov Dependencies js-standard-style
Nuxt module for flatpickr

📖 Release Notes

Features

Nuxt module for vue-flatpickr-component
See vue-flatpickr-component for more details.

Setup

  • Add nuxt-flatpickr dependency using yarn or npm to your project
  • Add nuxt-flatpickr to modules section of nuxt.config.js

{
  modules: [
    // Simple usage
    'nuxt-flatpickr',

    // With options
    ['nuxt-flatpickr', { /* module options */ }],
 ]
}

Usage

<flat-pickr v-model="date" @on-change="doSomethingOnChange" @on-close="doSomethingOnClose"></flat-pickr>

Development

  • Clone this repository
  • Install dependnecies using yarn install or npm install
  • Start development server using npm run dev

License

MIT License
Copyright (c) Rasmus Schlunsen