https://github.com/yusukebe/hono-with-qwik
https://github.com/yusukebe/hono-with-qwik
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yusukebe/hono-with-qwik
- Owner: yusukebe
- Created: 2023-01-11T14:40:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-27T13:51:20.000Z (over 2 years ago)
- Last Synced: 2025-04-19T13:43:27.971Z (about 1 year ago)
- Language: TypeScript
- Size: 27.3 KB
- Stars: 23
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hono🔥 meets Qwik ⚡️
Qwik City works on Cloudflare Workers and Bun with Hono / Qwik middleware.
It's middleware, so you can integrate Qwik into Hono ultra easily!
```ts
import qwikCityPlan from '@qwik-city-plan'
import render from './entry.ssr'
import { qwikMiddleware } from '@hono/qwik-city'
import { logger } from 'hono/logger'
import { Hono } from 'hono'
const app = new Hono()
app.get('*', logger())
app.get('*', qwikMiddleware({ render, qwikCityPlan }))
export default app
```
## Author
Yusuke Wada