You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Projects created by selecting x-basic with npm create hono@latest support Cloudflare Workers & Pages, but it would be beneficial to have documentation on how to adapt the code to run on other platforms.
The text was updated successfully, but these errors were encountered:
I don't think this is currently possible as the Vite plugin built into HonoX is only adapted for Cloudflare Pages.
There was some discussion on this in #42 where someone built their own plugin. If not, I'm not sure if it would be helpful, but Cloudflare have open-sourced the runtime for their Workers (https://github.com/cloudflare/workerd) so if you're looking to self-host, that might be relevant.
You can run the HonoX app on other runtimes like Node.js and Bun instead of Cloudflare/workerd. To do it, you must build your app with the proper Vite settings. It would be good if the setting were written in the README.
What is the feature you are proposing?
Projects created by selecting
x-basic
withnpm create hono@latest
support Cloudflare Workers & Pages, but it would be beneficial to have documentation on how to adapt the code to run on other platforms.The text was updated successfully, but these errors were encountered: