Here we will do a manual setup for ImportMap-Rails starting from
These quick instructions are for you to get going quickly, but they do no walk you through the step-by-step of verifying each component of the stack you are using. If you want to get a more in-depth understanding of each piece of the stack, refer to this post instead.
Remember for an ImportMap-Rails app you will continue using
rails server to start your server, as there is no auxiliary SASS watcher running in the background.
1/ New Rails 7 App
2/ add to Gemfile
gem "importmap-rails" gem "turbo-rails"
3/ Install ImportMap-Rails
4/ Install Turbo
5/ Install Stimulus
6/ Pin Bootstrap Using Importmap-Rails
./bin/importmap pin email@example.com
./bin/importmap pin @firstname.lastname@example.org