-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting started #13
Comments
Thanks for leaving your thoughts here. I had a moment to serve static assets stored under the I mitigated it by making the I hope this ^ will help someone. Having said that, the following is the first practice I integrated this library into the template project. https://github.com/wataruoguchi/poc-user-cf-hono-remix/pull/1/files |
Hi @wataruoguchi ! Just curious. Have you ever thought of using Cloudflare Workers instead of Cloudflare Pages? This is because we - the Cloudflare team- migrate to Workers for some framework applications, and I'm considering this |
@yusukebe, I am open to using Cloudflare Workers over Cloudflare Pages. As I am one of the Japanese developers, I get influenced a lot by Chimame-san's posts like this 静的ファイル配信を対応したCloudflare WorkersにRemixを移行してログ出力を容易にする方法 (JA) :) |
@yusukebeI suppose the following PR is what I need to migrate from CF pages to CF workers in my project. wataruoguchi/poc-user-cf-hono-remix#4 TBH, it's not a big deal how the static assets get served (via Pages vs Workers) to me. |
@wataruoguchi Thanks! I created the Cloudflare Workers handler yesterday and released the new version. You can use it by following the instruction. Can you try it? |
@yusukebe It worked like a charm! It's amazing, no workaround is needed for static assets under the Tested with Here's the diff: wataruoguchi/poc-user-cf-hono-remix#5 |
@yusukebe FYI, [assets]
directory = "./build/client"
binding = "ASSETS" Probably, that's the only discrepancy while your document says: assets = { directory = "./build/client" } |
I think https://github.com/yusukebe/hono-remix-adapter-example Can you take a look at it? |
@yusukebe confirmed. It looks correct. It doesn't require |
@wataruoguchi Thanks for confirming it. Okay! |
After I red your readme.md I was asking how to start? What's the difference between your project and https://github.com/sergiodxa/remix-hono ? I think yours uses Remix Vite Plugin instead of Classic Remix Compiler.
How to start? I see that you have an example folder. It's that enough to start with? How to download only the example folder from github? Shouldn't first start with
npx create-remix@latest
then add your example? I am a newbie with Remix.Oh. Wait.
npx create-remix@latest
has a template option, but I don't see your example in the templates list.I figure it out:
Please, let others know how easy is to start a new project with your adapter.
The text was updated successfully, but these errors were encountered: