-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Description
Hello,
I have started learning Ruby on Rails recently. I tried to install Bootstrap 5 with Rails 7 using this gem.
The bootstrap framework is installed, but JavaScript is not working and no dropdown menu is displayed. I tried with Navbar sample code from bootstrap website (https://getbootstrap.com/docs/5.1/components/navbar/ ), but drop-down in the Navbar does not work. Tried on Firefox browser and Google Chrome.
I did installation exactly as per instructions.
- Added cssbundling-rails to Gemfile with gem 'cssbundling-rails'
- Run $bundle install
- Run $rails css:install:bootstrap
Google Chrome terminal gives this error.
Uncaught TypeError: Failed to resolve module specifier "bootstrap". Relative references must start with either "/", "./", or "../".
Thanks.
Metadata
Metadata
Assignees
Labels
No labels
