Replies: 2 comments
-
Hi @meenie With the proper settings, you could theoretically do this. However, |
Beta Was this translation helpful? Give feedback.
0 replies
-
@meenie : Did you ever resolve this issue? I have the same problem locally (i.e. not in Vercel). In Preact, I'd resolve this by modifying |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to utilize JSX in a Vercel Edge Function so that I can return HTML for an
htmx
application. I followed the instructions on how to use JSX within Hono and then created this fileWhen I run
vercel dev
and go to http://localhost:3000/api, I get the following error:If I replace the JSX with just a plain string and refresh, the edge function runs fine, even when the file is still named
index.tsx
.I'm not sure if this is a Vercel error or an issue with Hono. Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions