vue-date-time-picker-js
A vue plugin to select date and time
See documentation and demo at vue-date-time-picker-js
Installation
npm
npm install vue-date-time-picker-js --save
webpack.config.js:
/** * configuration for moment to ignore loading locales */moduleexportsplugins = //... /^\.\/locale$/ /moment$/ //...
Usage
main.js
//...;Vue;//...
Or in component
You can also set default values:
main.js
;Vue;
Then use in component
Built With
- Vuejs - The Progressive JavaScript Framework.
- Moment.js - Parse, validate, manipulate, and display dates and times in JavaScript.
- vue-persian-datetime-picker - A vue plugin to select jalali date and time.
License
This project is licensed under the MIT License
Change log
1.0.2 (2020-03-25)
- Fix for package
1.0.1 (2020-03-25)
- Fix for package name
1.0.0 (2020-03-25)
- Fork from vue-persian-datetime-picker