跳转到正文

Remix ​

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

现在可以通过 fetch API 结合使用 Remix 和 Hono。

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 许可证发布。