template_honoJSX
Script
v34
Fork
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/** @jsxImportSource npm:hono/jsx */
import
{
Hono
}
from
"npm:hono"
;
const
app
=
new
Hono
(
)
;
app
.
get
(
"c"
,
c
=>
{
return
c
.
html
(
<
html
>
<
head
>
<
title
>
Hono Template
</
title
>
</
head
>
<
body
>
Just a demo
</
body
>
</
html
>
,
)
;
}
)
;
export
default
app
.
fetch
;