z-date-picker
v1.0.3
Published
A Component for Vue.js
Downloads
7
Readme
z-date-picker
A Vue.js project
如何在项目中使用
//npm / yarn
yarn add z-date-picker
或者
npm install z-date-picker --save
//javascript
import DatePicker from 'z-date-picker'
export default {
components:{
DatePicker
},
data(){
return {
date:'2018-06-05'
}
}
}
// template
<date-picker v-model="date"></date-picker>
Build Setup
# install dependencies
# npm install
yarn
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.