Author: @MathurAditya724
This example shows how to use Hono's Client Components with Vite and integrate it with the Hono API.
Run the Vite development server
pnpm run ui:dev
Build the UI
pnpm run ui:build
Preview the built UI
pnpm run ui:preview
Before running the API server to serve the UI, make sure to build the UI first. Then run the following command to start the API server.
pnpm run dev