Contents
Description:
A simple and lightweight date picker component for Vue.js version 1.x and 2.x. It does supports disabling of dates, inline mode and translations available.
You may also like:
A lightweight and responsive date picker for Vue.jsA simple but beautiful datepicker for Vue.js Version 2 and 3
How can I use it?
1. First of all, install the component with npm.
npm install vuejs-datepicker –save
2. Import the required components.
import Datepicker from ‘vuejs-datepicker’;
3. Register the component.
export default {
// …
components: {
Datepicker
}
// …
}
4. Add the component in your template.
<datepicker></datepicker>
The post A date picker component for Vue.js version 1.X and 2.x appeared first on Lipku.com.