import { useState } from 'preact/hooks' import preactLogo from './assets/preact.svg' import viteLogo from './assets/vite.svg' import heroImg from './assets/hero.png' import './app.css' export function App() { const [count, setCount] = useState(0) return ( <>
Preact logo Vite logo

Get started

Edit src/app.tsx and save to test HMR

Documentation

Your questions, answered

Connect with us

Join the Vite community

) }