File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11@import ' bootstrap/scss/bootstrap' ;
2+ @import ' bootstrap-icons/font/bootstrap-icons' ;
Original file line number Diff line number Diff line change 1- say "Install Bootstrap with Popperjs/core"
1+ say "Install Bootstrap with Bootstrap Icons and Popperjs/core"
22copy_file "#{ __dir__ } /application.bootstrap.scss" ,
33 "app/assets/stylesheets/application.bootstrap.scss"
4- run "yarn add sass bootstrap @popperjs/core"
4+ run "yarn add sass bootstrap bootstrap-icons @popperjs/core"
5+
6+ inject_into_file "config/initializers/assets.rb" , after : /.*Rails.application.config.assets.paths.*\n / do
7+ <<~RUBY
8+ Rails.application.config.assets.paths << Rails.root.join("node_modules/bootstrap-icons/font")
9+ RUBY
10+ end
511
612if Rails . root . join ( "app/javascript/application.js" ) . exist?
713 say "Appending Bootstrap JavaScript import to default entry point"
You can’t perform that action at this time.
0 commit comments