在Vuejs 2中使用bootstrap-datetime选择器 [英] Using bootstrap-datetime picker with Vuejs 2

查看:341
本文介绍了在Vuejs 2中使用bootstrap-datetime选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将Datetime Picker与vue 2或webpack集成。我尝试搜索,但找不到相关文章。是否有人将Datetime选择器与Vue2或Webpack集成在一起,是否有任何示例代码可供参考?

I wanted to integrate Datetime picker with vue 2 or webpack. I tried searching but couldn't find related article. Have anyone integrated the Datetime picker with Vue2 or webpack, is there any sample code available for reference? Any help would be highly appreciated.

谢谢。

推荐答案

您可以通过谷歌搜索 vuejs bootstrap datetimepicker 来找到关于此问题的一些问题,但是老实说,我不确定VueJS是否适合与Bootstrap结合使用,已经有它自己的( jQuery)。

You can sure find some issues on the subject by just Googling vuejs bootstrap datetimepicker, but honestly I'm not sure VueJS is well tailored to work with Bootstrap, that already have its own (jQuery) logic.

VueStrap 项目,但可与Vue1一起使用,请参见其 datepicker 此分叉应该支持Vue2,但我不能保证其质量。但是,如果您想自己进行日期选择器的集成,可能会给您一些启发,请参阅日期选择器代码

There is the VueStrap project, but it works with Vue1, see their datepicker. This fork is supposed to support Vue2, but I can't ensure its quality. However it could gives you some inspiration about how to integrate your datepicker if you want to do it yourself, see the datepicker code.

如果您不介意使用其他日期选择器,我建议您整合一些其他的方法到您的项目:

If you don't mind using another datepicker, I would suggest some others that are trivial to integrate to your project:

元素datetimepicker 项目的Github

这篇关于在Vuejs 2中使用bootstrap-datetime选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆