Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
svaldez427yYou should be able to go to
Rubygems.org
Search 'bootstrap'
Copy to clip board
Past In project's Gemfile
Run 'bundle install'
(Boostrap 4 beta needs jquery-rails gem)
For scss rename your
application.css to application.scss
Add: @import 'bootstrap';
Restart/start your rails server
Should be good -
svaldez427y
-
isashi9167yThanks for all the answers.
I already set the gem and the other files (I used Bootstrap 3) but I think it's a bit complicated to integrate the components with the erb tags.
For example, I wasn't able to change the scroll down form or override a simple button style.
Maybe it's just lack of experience, but I fought it would be easier to create and customize a rails website with bootstrap ^^" -
isashi9167y@trubesv materialize looks nice but really hard to implement the select_tag drop down Ahahah dunno if it's because in this project I used rails 4
QUESTION RAILS + FRONT END, COME INSIDE AND TAKE A LOOK.
In the last months I started learning Ruby on Rails because I'd like to switch my job.
I developed few small projects from The odin project and today I was trying to implement Bootstrap inside my Rails app (simple flight booker) and I had several problems.
Chatting with other Odiners, they confirmed rails+bootstrap is not an easy combination.
Sooo here my questions:
1) what would you suggest to use with rails to create the frontend?
2) what would you suggest to use to create simple websites/landing pages? WordPress?
Thanks and regards!
question