Skip to content

Conversation

@bigmasonwang
Copy link
Contributor

When I was creating a new Rails app with Inertia React, I noticed the HMR instruction text in the TypeScript templates points to incorrect file paths:

  • InertiaExample.tsx said to edit index.jsx, but the generated file is index.tsx

Also

  • InertiaExample.ts.vue said to edit index.ts.vue, but per frameworks.yml, the generated file is index.vue

First contribution here, happy to make any changes if needed 😀

@skryukov
Copy link
Collaborator

skryukov commented Dec 4, 2025

Great finding, thanks @bigmasonwang!

Test failing bc of bundler 4, I have it fixed in #299, so no worries.

@bknoles bknoles merged commit 8bc9b55 into inertiajs:master Dec 11, 2025
19 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants