Install Rails 7, Bootstrap using importmap (Part 2)
Submitted by uday on January 24, 2023 - 10:44pmAs seen in previous post, I tried to install Rails 7 and Botstrap using command:
$rails new app-name -j esbuild --css bootstrap
The problem with this approach is
- It does not install importmap which is recommended default for Rails 7.
- It installed so many node_modules.
- I could not install Font Awesome because I did not have importmap.
So my thinking was to create a new Rails 7 app (so that Importmap will be default) and THEN ADD Bootstrap to it.