Set up Hotwire (importmap, Turbo, Stimulus) and fix bin/ci

The app was generated with 'rails new --skip', which skipped the
JavaScript install step, leaving bin/importmap missing and bin/ci's
importmap audit failing. Run the importmap, turbo, and stimulus install
generators to wire up Hotwire per PRD 10.1/10.2 and restore bin/ci.
This commit is contained in:
2026-06-07 21:03:41 -03:00
parent 1a1308e0fc
commit 282d2d75f5
8 changed files with 35 additions and 0 deletions

View File

@@ -20,6 +20,7 @@
<%# Includes all stylesheet files in app/assets/stylesheets %>
<%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
<%= javascript_importmap_tags %>
</head>
<body class="min-h-screen bg-gray-50 text-gray-900 antialiased">