Re: [Rails] bootstrap not working in 6.0.2

2019-12-21 Thread fugee ohu
On Saturday, December 21, 2019 at 2:54:26 PM UTC-5, McNeal Maddox wrote: > > Not sure about 6.0.2 (I'm still on 5.2), but can you post the Bootstrap > configuration in your Webpacker.yml file? > > It's not clear how you've set up Bootstrap for your project (sharing the > view code isn't as hel

[Rails] rails 6 where to put javascript files

2019-12-21 Thread fugee ohu
Where do I put my custom javascript files now, under javascripts or under javascripts/packs or should i create a directory like 'custom' under javascripts and then in javascript/packs/application.js i would have to import "../custom" and that would import all the javascript files in the custom

Re: [Rails] bootstrap not working in 6.0.2

2019-12-21 Thread McNeal Maddox
Not sure about 6.0.2 (I'm still on 5.2), but can you post the Bootstrap configuration in your Webpacker.yml file? It's not clear how you've set up Bootstrap for your project (sharing the view code isn't as helpful). On Fri, Dec 20, 2019, 10:34 PM fugee ohu wrote: > I pasted in code from https:/

[Rails] bootstrap working with webpacker?

2019-12-21 Thread fugee ohu
I've got bootstrap working with webpacker sort of I think I'm not sure I don't see any errors in the log but somethings not working right I'm questioning this line in app/javascripts/stylesheets/application.scss: @import "~bootstrap/scss/bootstrap.scss"; I'm importing bootstrap in app/javascript