Open
Description
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.
Current behavior with typescript installation

Metadata
Metadata
Assignees
Labels
No labels