0.0.2 • Published 6 years ago
nuxt-flatpickr v0.0.2
nuxt-flatpickr
Nuxt module for flatpickr
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
tomodules
section ofnuxt.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
ornpm install
- Start development server using
npm run dev
License
Copyright (c) Rasmus Schlunsen
0.0.2
6 years ago