vue-pikaday
A lightweight Vue.js directive wrapper over dbushell/Pikaday.
Install
Install the library from NPM
npm install vue-pikaday
Usage
Install the directive
# in your JSVue
--
Set some VM data to bind
{return date: null}
--
Create the datepicker
Styling
The directive does not include any styling by default. You can grab base css & scss from the Pikaday repository.
Build Setup
# install dependenciesnpm install# serve with hot reload at localhost:8080npm run dev# build for production with minificationnpm run build
For detailed explanation on how things work, consult the docs for vue-loader.