Open bluengreen opened 7 years ago
Same problem, but to import bootstrap-datetimepicker.css
don't solves the problem for me: the CSS file is not loading really, you can see it in rails log or in the browser console (Chrome).
@bluengreen It is working for you with .css
extension? Did you found another solution. Thanks.
Oh, I've found a solution. This application.scss
works for me:
/*
*= require_tree .
*= require_self
*= require bootstrap-datetimepicker
*/
@import 'bootstrap-sprockets';
@import 'bootstrap';
@bluengreen is correct. You should be doing @import 'bootstrap-datetimepicker.css';
, if your manifest file is a sass file, application.css.scss
.
The other thing they could do, is just add a bootstrap-datetimepicker.scss
file to the gem and it should be just fine.
Let me know if you want me to just make a pull request.
This section is incorrect in my app. Not sure why or how you get the actual scss into your project since its a link to the other repo. But this section doesn't work
application.scss is now the default.
And @import 'bootstrap-datetimepicker'; should be @import 'bootstrap-datetimepicker.css';
Thanks