You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running bin/rails generate inertia:install with TypeScript, the generated layout still uses:
<%= vite_javascript_tag "application" %>
However, the inertia pack is correctly added using:
<%= vite_typescript_tag "inertia" %>
This inconsistency is confusing—especially since there's a comment in the layout suggesting to use vite_typescript_tag. A developer might update application to use it, which will fail, because the asset is still named application.js instead of application.ts.
To avoid confusion, the generator should configure everything to use TypeScript consistently when that option is selected.