Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Latest commit

 

History

History
37 lines (22 loc) · 791 Bytes

README.md

File metadata and controls

37 lines (22 loc) · 791 Bytes

AndyH-DatePicker

This is a simple Date Picker component written in Vue JS.

ScreenShot

Install

Install with NPM with:

npm install andyh-datepicker

Import the component into your Vue App:

import AndyHDatePicker from 'andyh-datepicker'
...

export default {
    ...
    components: {
        'date-picker': AndyHDatePicker
    }
}

Use the Component with:

<date-picker></date-picker>

Data Binding

You can use the Date Picker with V-model to your own data

<date-picker v-model="datevalue"></date-picker>

Setting the accent color

<date-picker v-model="datevalue" :color="#fec107"></date-picker>