import { createFileRoute } from "@tanstack/react-router"; import { useState } from "react"; import reactLogo from "../assets/react.svg"; import viteLogo from "/vite.svg"; import "./index.css"; export const Route = createFileRoute("/")({ component: App, }); // function Index() { // return ( //
Edit src/App.tsx
and save to test HMR
Click on the Vite and React logos to learn more
> ); }