How to add Bootstrap to Ruby on Rails 7 App - Rails 7 Tutorial 2022

preview_player
Показать описание
Get 1 month FREE of Skillshare Premium (including my Ruby on Rails 6 course):

Installing Bootstrap or Tailwind in Ruby on Rails used to be problematic. However, in Ruby on Rails 7 boostrap is very easy to install with a new rails app. We can pass the option of our preferred css framework in the terminal or command line when creating a new rails 7 app, and the files and config required will be set up already for us.

🌐 Purchase Ruby on Rails web app templates:

If you want to see more Ruby on Rails 7 tutorials and examples of how to create a Rails 7 app. Then make sure to subscribe and turn on notifications as I will be sharing more Ruby on Rails 7 videos on this channel.
Рекомендации по теме
Комментарии
Автор

Would be great to see how to add Bootstrap to an existing Rails 7 application!

EmmetGibney
Автор

I wish if this was as the title says which is adding bootstrap to the app rather than initializing the app with bootstrap + The big problem with bootstrap and Rails is the jQuery or the JS file not the CSS, If your example just included dropdown menu it would be better, BUT THANKS ANY WAY

Alwalou
Автор

If you forget to put the special --css flag when initializing the app is that when you would have to use import maps and pinning? Basically what happens if you forget something like --css boostrap or --webpack=react?

katejohnson
Автор

can you help me with how to add custom css in this existing application such that we can able to update the bootsrap class

GauravKumar-jczb
Автор

The problem is that bootstrap js doesn't work. I'm 8 hours in to trying to get a simple bootstrap dropdown to work.

peytonsterling
Автор

Hi David, since you have gems anyway, what's the purpose of the new gem set? It what way can it help?


Thank you for the video by the way.

frankie
Автор

Ty dude, im isn't find how to install bootstrap in portuguese, but i can did with ur help, thx.

klayvaodev
Автор

Hey David thanks for sharing this, could you redo the Real State App using rails 7 + turbo aka Hotwire?

siba
Автор

Hello david, can you make a video on nested comment

softalxacademy
Автор

Would be great if you could put up a tutorial on rails 7 that shows a beginner how to build from scratch to production Thanks

emmabasseyokon
Автор

how i can see the effect of css on html frontend in ruby on rails ? There's no changes or linking in my app only pure html

masteryourownway
Автор

I struggle with this as the second phase with yarn would'nt start and stopped with a gem error tzinfo... the solution was uninstalling ruby 3.1.2 and downgrading to 3.0.4 and everything went well and installed.

alfenousa
Автор

I Can't see this dependencies 5:55 when I'm running on windows ¿It is something related with my OS?

juanicolas
Автор

doesn't say how to enable javascript

engine_man
Автор

i have rails v 3.1 and i did same command as you and i didnt find any package.json am using windows10

MaybeBLTZ