vue-ctk-date-time-picker
A vue component for select dates (range mode available) & time
Demo
Installation
Using yarn
yarn add vue-ctk-date-input-text
Using npm
npm i --save vue-ctk-date-input-text
Usage
ES6 Modules / CommonJS
;; Vue;
UMD
Props API
Props | Type | Required | Default | Options |
---|---|---|---|---|
v-model | String/Int | true | - | - |
label | String | false | Enter Text | - |
type | String | no | text | text or number |
hint* | text | no | - | |
error-hint** | Boolean | no | false |
Contribution
# install dependenciesnpm install# serve with hot reload at localhost:8080npm run dev
Build
Build configuration is located in the poi.config.js
file, to build just run: npm run build
, it will build to cjs
and umd
directories.
Tests
This template uses karma with chai by default, you can change test settings in poi.config.js
npm run test
npm run test:watch
npm run test:cov
License
This project is licensed under MIT License