calendar vue日期选择组件 基于 vue 2.0高性能日历组件(vue2-datepick)

一、点击文本框,选择日期,把日期赋值到文本框中。

calendar vue日期选择组件 基于 vue 2.0高性能日历组件(vue2-datepick)_第1张图片

 

二、日期组件使用

1、安装vue2-datepick

npm install vue2-datepick --save

2、初始化,在main.js中加入以下:

import Calendar from 'vue2-datepick';
Vue.use(Calendar);

3、使用




其他信息:

基于vue2.0

修改了之前版本依赖vuex,插件化 支持npm

github地址 https://github.com/jamielhf/vue/tree/master/calendar

博客地址 http://jamielhf.cn

在线demo地址:https://jamielhf.github.io/vue/calendar/dist/

另一种风格:https://blog.csdn.net/qq_42396791/article/details/85676245

 

vue插件汇集

你可能感兴趣的:(vue,移动端,日历)