yusukebe / hono-remix-adapter

Hono <-> Remix Adapter
https://www.npmjs.com/package/hono-remix-adapter
145 stars 6 forks source link

Workers + assets instead of cloudflare pages #14

Closed scttcper closed 1 month ago

scttcper commented 1 month ago

Thanks for making this project, I made a small example of how to adopt this for workers w/ assets instead of cloudflare pages but i think there's likely more that could be done. Would be nice to be able to test scheduled workers without a different command.

example

saaskitten commented 1 month ago

@scttcper Does this provide what you need?

yusukebe commented 1 month ago

Regarding templates for Workers, we can wait for the Remix-side. For instance, they have this PR: https://github.com/remix-run/remix/pull/10034

i think there's likely more that could be done.

Yeah, we can find them. This page shows the difference between Pages and Workers which we can refer. https://developers.cloudflare.com/workers/static-assets/compatibility-matrix/

scttcper commented 1 month ago

@yusukebe https://github.com/remix-run/remix/pull/10034 is exactly what i'm looking for. Thanks!