29 lines
521 B
Markdown
29 lines
521 B
Markdown
# Qwik City middleware for Hono
|
|
|
|
[](https://codecov.io/github/honojs/middleware)
|
|
|
|
**WIP**
|
|
|
|
## Usage
|
|
|
|
```ts
|
|
import { qwikMiddleware } from '@hono/qwik-city'
|
|
import qwikCityPlan from '@qwik-city-plan'
|
|
import render from './entry.ssr'
|
|
import { Hono } from 'hono'
|
|
|
|
const app = new Hono()
|
|
|
|
app.all('*', qwikMiddleware({ render, qwikCityPlan }))
|
|
|
|
export default app
|
|
```
|
|
|
|
## Author
|
|
|
|
Yusuke Wada <https://github.com/yusukebe>
|
|
|
|
## License
|
|
|
|
MIT
|