Ruby on Rails
Sunday, March 18, 2018
I haven't been able to get jquery datetimepicker working so referring to another app where it does work i found the file app/assets/javascripts/package.json in the app that worked In the file a bunch of settings for jquery datetimepicker shown below From there i searched the web for package.json and found it's a file created by either yarn or npm so then I see there's instructions to install jquery datetimepicker via npm or yarn Trying to install by yarn caused yarn to hang, it doesn't return a prompt but npm installs it quickly creating package.json under /node_modules but datetimepicker still doesn't work That's a different directory than the app I found the package.json file in that has datetimepicker working so I must have installed it for that app using yarn Anyone can advise please
-- "name": "jquery-datetimepicker",
"version": "2.5.4",
"description": "jQuery Plugin DateTimePicker it is DatePicker and TimePicker in one",
"main": "build/jquery.datetimepicker.full.min.js",
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f3d8e60d-8627-4a17-ba4a-d9761cf9b381%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment