Skip to content

Latest commit

 

History

History
 
 

hono-vite-jsx

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Hono/JSX + Vite

Author: @MathurAditya724

This example shows how to use Hono's Client Components with Vite and integrate it with the Hono API.

UI Commands

Run the Vite development server

pnpm run ui:dev

Build the UI

pnpm run ui:build

Preview the built UI

pnpm run ui:preview

API Commands

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