跳至内容

Remix

Remix 是一个基于 Web 标准的全栈框架。

现在,Remix 和 Hono 可以通过 fetch API 协同使用。

Remix + Hono

您可以使用 Remix 作为 Hono 中间件,使用 Remix + Hono,如下所示

ts
import * as build from '@remix-run/dev/server-build'
import { remix } from 'remix-hono/handler'

app.use('*', remix({ build, mode: process.env.NODE_ENV }))

另请参见

在 MIT 许可下发布。