admin管理员组文章数量:1414908
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 user3555007user35550073 Answers
Reset to default 2As 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",
本文标签: javascriptReactbootstrap Datetimepicker issueStack Overflow
版权声明:本文标题:javascript - React-bootstrap Datetimepicker issue - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745164796a2645620.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论