middleware icon indicating copy to clipboard operation
middleware copied to clipboard

@hono/qwik-city on Cloudflare Pages?

Open dolsem opened this issue 2 years ago • 7 comments

Is it possible to use @hono/qwik-city in a Cloudflare Pages project? Does it work with @hono/vite-cloudflare-pages? I feel like I've tried everything, but I cannot figure out how to make these two plugins work with each other.

dolsem avatar Feb 29 '24 01:02 dolsem

Hi @dolsem

I'm sure you can do it, but @hono/qwik-city is not complete and I cannot support it.

yusukebe avatar Mar 01 '24 14:03 yusukebe

Do you mean you cannot support @hono/qwik-city or just the Cloudflare Pages integration? If you're planning to finish @hono/qwik-city, how long do you think it will take?

dolsem avatar Mar 01 '24 18:03 dolsem

Do you mean you cannot support @hono/qwik-city or just the Cloudflare Pages integration?

"Cloudflare Paages Integration". But, actually, I don't have time to make @hono/qwik-city and the priority is low. So, I want someone's help!

yusukebe avatar Mar 01 '24 21:03 yusukebe

@yusukebe I can update it. we're using the code as a starting point for our Prod app (only a few things needed to be updated in the code)

PatrickJS avatar Sep 26 '24 00:09 PatrickJS

Hi @PatrickJS

Great. Can you create a PR (though it's good you'll wait for announcements from Cloudflare today!)?

yusukebe avatar Sep 26 '24 01:09 yusukebe

yeah, I updated the qwik middleware you made. I think it's better if we want to wait for the vite 6 "environments" api changes to get into qwik then it will be even simpler

PatrickJS avatar Sep 30 '24 02:09 PatrickJS

@PatrickJS

Ideally, it's great that we will have a Vite plugin for developing Qwik with Hono and adapters for Cloudflare Pages, etc. It's like "hono-remix-adapter" recently I made: https://github.com/yusukebe/hono-remix-adapter

I've struggled for a few hours to find a good solution, but I can't find it.

I am waiting for your idea!

yusukebe avatar Sep 30 '24 11:09 yusukebe