honojs / website

Repository for hono.dev
https://hono.dev
83 stars 276 forks source link

Use Hono in docs #428

Open ryuapp opened 4 months ago

ryuapp commented 4 months ago

Hono has its own jsx, it's good to use it on hono.dev to show off. It doesn't have to be the jsx, but using Hono on the website means we can actually use Hono, so it's great.

Something similar is being done in #262 , but there is no movement, so I opened this issue.

ryuapp commented 3 months ago

I made this based on the following: https://github.com/vuejs/vitepress/discussions/2183#discussioncomment-5531222 image

SSR won't work there, but we can at least use it as an example for hono/jsx. If you want to try it, see: https://github.com/ryuapp/honojs-website/tree/hono-jsx-in-vitepress

goisaki commented 3 months ago

Good morning, @ryuapp! First of all, I apologise for the reduced movement on that PR for personal reasons.

I'm currently trying to build something like VitePress with HonoX. This is not the way you are planning to do it now, but you can refer to it if you like. Thanks!!!

https://github.com/goisaki/hono-doxs https://honox-website.pages.dev/docs