/vike-hono-example

Vike + React with Hono (vite-dev-server for dev & node-server for prod)

Primary LanguageTypeScript

Vike with Hono.

This is an example of integrating Hono with Vite and Vike.

The development server uses @hono/vite-dev-server (Vite Plugin).

The production server uses @hono/node-server (Node.js Adapter for Hono).

To run this example:

  • Fork or clone this repo
cd vike-react-hono
pnpm install
# To run vite development server
pnpm dev 
# To build & run production server
pnpm prod

Read the official documentations of Vike at vike.dev.

This repo was scaffolded with pnpm create vike.