javascript - React-bootstrap Datetimepicker issue - Stack Overflow

I'm currently working on a Project and we need to use a date-time picker ponent for react. We are

I'm currently working on a Project and we need to use a date-time picker ponent for react. We are currently using this one:

But we had an issue with it, forked it and tried to solve our problem. Here's the link of my fork:

Our problem right now is... how can I integrate this react ponent fork into my rails application using npm?

I've already seen a couple tutorials around and I've tried them. They involved mainly using the repo URL in the package.json file and then executing npm install, but somehow it didn't work:

Error: Cannot find module 'react-bootstrap-datetimepicker'

Why the original version works with npm install but the fork doesn't? It looks like when I execute npm install with the fork url then the build is not plete or it just lack of some symbolic links or something.

I'm currently working on a Project and we need to use a date-time picker ponent for react. We are currently using this one:

https://github./quri/react-bootstrap-datetimepicker

But we had an issue with it, forked it and tried to solve our problem. Here's the link of my fork:

https://github./fertaku/react-bootstrap-datetimepicker

Our problem right now is... how can I integrate this react ponent fork into my rails application using npm?

I've already seen a couple tutorials around and I've tried them. They involved mainly using the repo URL in the package.json file and then executing npm install, but somehow it didn't work:

Error: Cannot find module 'react-bootstrap-datetimepicker'

Why the original version works with npm install but the fork doesn't? It looks like when I execute npm install with the fork url then the build is not plete or it just lack of some symbolic links or something.

Share Improve this question edited Oct 20, 2015 at 15:59 asked Oct 20, 2015 at 15:45 user3555007user3555007
Add a ment  | 

3 Answers 3

Reset to default 2

As of today, you can also use this ponent which uses Bootstrap 4 styles: https://github./tonix-tuft/react-tempusdominus-bootstrap

"react-bootstrap-datetimepicker" repository is not maintained anymore and Depreciated, please refer to this fork : https://github./YouCanBookMe/react-datetime

You need to prefix the url with "github:" instead of "https:". It should look like this in your package.json

"react-bootstrap-datetimepicker": "github:fertaku/react-bootstrap-datetimepicker",

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745164796a4614571.html

相关推荐

  • javascript - React-bootstrap Datetimepicker issue - Stack Overflow

    I'm currently working on a Project and we need to use a date-time picker ponent for react. We are

    2小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信