testScriptTag
Script
v2
Fork
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/** @jsxImportSource https://esm.sh/preact */
import
{
preact
}
from
"https://esm.town/v/stevekrouse/preact"
;
export
function
testScriptTag
(
)
{
return
preact
(
<
>
<
script
type
=
"module"
src
=
"https://esm.town/v/nbbaier/loadWC"
/>
{
/* import { loadWC } from "https://esm.town/v/nbbaier/loadWC"; */
}
<
p
>
Some text
</
p
>
<
x-greeting
>
</
x-greeting
>
</
>
,
)
;
}