v-date-selector
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "v-date-selector", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "MIT", | ||
"homepage": "https://github.com/joaoeudes7/V-DatePicker#readme", | ||
"homepage": "https://github.com/joaoeudes7/V-Date-Selector#readme", | ||
"author": { | ||
@@ -11,14 +11,14 @@ "name": "João Eudes Lima", | ||
}, | ||
"repository": "https://github.com/joaoeudes7/V-DatePicker", | ||
"repository": "https://github.com/joaoeudes7/V-Date-Selector", | ||
"scripts": { | ||
"serve": "vue-cli-service serve --open", | ||
"build": "vue-cli-service build --target lib --name v-datepicker ./src/index.js", | ||
"build-wc": "vue-cli-service build --target wc --name v-datepicker 'src/components/*.vue'", | ||
"build-wc-async": "vue-cli-service build --target wc-async --name v-datepicker 'src/components/*.vue'", | ||
"build": "vue-cli-service build --target lib --name v-date-selector ./src/index.js", | ||
"build-wc": "vue-cli-service build --target wc --name v-date-selector 'src/components/*.vue'", | ||
"build-wc-async": "vue-cli-service build --target wc-async --name v-date-selector 'src/components/*.vue'", | ||
"lint": "vue-cli-service lint" | ||
}, | ||
"main": "dist/v-datepicker.umd.js", | ||
"module": "dist/v-datepicker.esm.js", | ||
"unpkg": "dist/v-datepicker.min.js", | ||
"style": "dist/v-datepicker.css", | ||
"main": "dist/v-date-selector.umd.js", | ||
"module": "dist/v-date-selector.esm.js", | ||
"unpkg": "dist/v-date-selector.min.js", | ||
"style": "dist/v-date-selector.css", | ||
"keywords": [ | ||
@@ -25,0 +25,0 @@ "double-select-list", |
@@ -1,29 +0,54 @@ | ||
# v-picker | ||
# VDateSelector | ||
Simple Date Picker/Date Selector/Calendar in Vue | ||
## Project setup | ||
``` | ||
yarn install | ||
``` | ||
[ | ||
![npm](https://img.shields.io/npm/v/v-date-selector.svg) | ||
![bundlephobia](https://img.shields.io/bundlephobia/minzip/v-multi-select.svg?style=flat) | ||
![npm](https://img.shields.io/npm/dm/v-date-selector.svg) | ||
](https://www.npmjs.com/package/v-date-selector) | ||
[![vue2](https://img.shields.io/badge/vue-2.x-brightgreen.svg)](https://vuejs.org/) | ||
### Compiles and hot-reloads for development | ||
``` | ||
yarn run serve | ||
``` | ||
![](.demo.png) | ||
### Compiles and minifies for production | ||
## Table of contents | ||
- [Installation](#installation) | ||
- [Usage](#usage) | ||
- [Demo](#demo) | ||
# Installation | ||
```bash | ||
yarn add v-date-selector | ||
``` | ||
yarn run build | ||
``` | ||
# Usage | ||
```vue | ||
<template> | ||
<div id="app"> | ||
<VDateSelector v-model="date"/> | ||
</div> | ||
</template> | ||
### Run your tests | ||
<script> | ||
import VDateSelector from 'v-date-selector' | ||
export default { | ||
name: 'app', | ||
components: { | ||
VDateSelector | ||
}, | ||
data: () => ({ | ||
date: new Date('1/1/2019') | ||
}), | ||
mounted() { | ||
console.log(VDateSelector) | ||
} | ||
} | ||
</script> | ||
``` | ||
yarn run test | ||
``` | ||
### Lints and fixes files | ||
Or use only Calendar: | ||
```html | ||
<VDateSelector v-model="date" :showInput="false"/> | ||
``` | ||
yarn run lint | ||
``` | ||
### Customize configuration | ||
See [Configuration Reference](https://cli.vuejs.org/config/). | ||
# Demo | ||
<!-- Click here to view in Browser: [Vue Component (Multi Select/Double Select)]() --> |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
133767
55
1