Appearance
Remix
Remix 是一个基于 Web 标准的全栈框架。
现在,可以通过 fetch API 将 Remix 和 Hono 结合使用。
🌐 Now, Remix and Hono can be used together through the fetch API.
Remix + Hono
你可以使用 Remix + Hono 将 Remix 作为 Hono 中间件使用,像这样:
🌐 You can use Remix as Hono middleware using Remix + Hono, like this:
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 }))另请参阅
🌐 See also