Ruby on Rails
Saturday, December 21, 2019
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 helpful).On Fri, Dec 20, 2019, 10:34 PM fugee ohu <fuge...@gmail.com> wrote:--I pasted in code from https://getbootstrap.com/docs/4.4/components/navbar/ but all my browser displays is "Navbar"<nav class="navbar navbar-expand-lg navbar-light bg-light"> <a class="navbar-brand" href="#">Navbar</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#
navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav mr-auto"> <li class="nav-item active"> <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a> </li> <li class="nav-item"> <a class="nav-link" href="#">Link</a> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Dropdown </a> <div class="dropdown-menu" aria-labelledby="navbarDropdown" > <a class="dropdown-item" href="#">Action</a> <a class="dropdown-item" href="#">Another action</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="#">Something else here</a> </div> </li> <li class="nav-item"> <a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a> </li> </ul> <form class="form-inline my-2 my-lg-0"> <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search"> <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button> </form> </div> </nav>
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 rubyonra...@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .15c0417c-0659-473a-a59f- 766638b6ce06%40googlegroups. com
I got it working and then deleted the post You replied after I deleted it I got it working by creating a new app Things broke after copying files over from my existing app that I'm trying to upgrade to rails 6 Basically, right now I'm dealing with the broader issues of how do I use javascript and css with webpacker I need to be more grounded in the broader sense for now but bootstrap works ha ha
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 view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f531b1a2-893d-4a39-aa97-afa7f4132703%40googlegroups.com.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment