vue2-datepicker
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,3 +5,3 @@ { | ||
"main": "src/datepicker/index.vue", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"scripts": { | ||
@@ -16,3 +16,4 @@ "dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot", | ||
"keywords": [ | ||
"vue","datepicker" | ||
"vue", | ||
"datepicker" | ||
], | ||
@@ -19,0 +20,0 @@ "author": "xiemengxiong", |
@@ -7,16 +7,16 @@ # vue2-datepicker | ||
<https://mengxiong10.github.io/vue2-datepicker/> | ||
![image](https://github.com/mengxiong10/vue2-datepicker/blob/master/screenshot/demo.PNG) | ||
![image](https://github.com/mengxiong10/vue2-datepicker/raw/master/screenshot/demo.PNG) | ||
## Install | ||
```bash | ||
$ npm install vue2-datepicker --save | ||
``` | ||
## Usage | ||
```html | ||
<template> | ||
<div> | ||
<date-picker v-model="time1"></date-picker> | ||
<date-picker v-model="time2" range></date-picker> | ||
</div> | ||
</template> | ||
<script> | ||
import DatePicker from 'datepicker/index.vue' | ||
import DatePicker from 'vue2-datepicker' | ||
@@ -33,2 +33,9 @@ export default { | ||
</script> | ||
<template> | ||
<div> | ||
<date-picker v-model="time1"></date-picker> | ||
<date-picker v-model="time2" range></date-picker> | ||
</div> | ||
</template> | ||
``` | ||
@@ -35,0 +42,0 @@ ## Attributes |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
122419
51