Appearance
Remix
Remix 是一个基于 Web 标准的全栈框架。
¥Remix is a Web Standards-based full-stack framework.
现在,可以通过 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