import styles from "./index.module.css"; import { type NextPage } from "next"; import Head from "next/head"; import Link from "next/link"; import { api } from "~/utils/api"; const Home: NextPage = () => { const hello = api.example.hello.useQuery({ text: "from tRPC" }); return ( <> Create T3 App

Create T3 App

First Steps →

Just the basics - Everything you need to know to set up your database and authentication.

Documentation →

Learn more about Create T3 App, the libraries it uses, and how to deploy it.

{hello.data ? hello.data.greeting : "Loading tRPC query..."}

); }; export default Home;