Inertia website https://inertia-rails.netlify.app/
Inertia instructions https://inertia-rails.netlify.app/guide/
Page to guide and read more about https://evilmartians.com/chronicles/inertiajs-in-rails-a-new-era-of-effortless-integration
if you get some error like:
ActionView::Template::Error (Vite Ruby can't find entrypoints/inertia.js in the manifests.
the easist way to deal with it is renaming the postcss.config.js
to postcss.config.cjs
Credits for Deanin