Skip to content

Remix

Remix는 웹 표준을 기반으로 한 풀스택 프레임워크이다.

이제 Remix와 Hono는 fetch API를 통해 함께 사용할 수 있다.

Remix + Hono

Remix + Hono를 사용해 Hono 미들웨어로 Remix를 활용할 수 있다. 다음은 그 예제다:

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 }))

함께 보기

Released under the MIT License.