Skip to content

Conversation

@bigmasonwang
Copy link

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.

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.

2 participants