import { Head } from '@inertiajs/react' import { useState } from 'react' import inertiaSvg from '/assets/inertia.svg' import reactSvg from '/assets/react.svg' import viteRubySvg from '/assets/vite_ruby.svg' import cs from './InertiaExample.module.css' export default function InertiaExample({ name }) { const [count, setCount] = useState(0) return ( <>

Hello {name}!

Inertia logo Vite Ruby logo React logo

Inertia + Vite Ruby + React

Edit app/frontend/pages/InertiaExample.jsx and save to test HMR

Click on the Inertia, Vite Ruby, and React logos to learn more

) }