tests: ensure asset mapping works correctly in islands client side (#245)

This commit is contained in:
Sylvain Cau
2022-06-22 12:02:51 +02:00
committed by GitHub
parent 871985a172
commit 6bca35be0f
2 changed files with 23 additions and 1 deletions
+2
View File
@@ -1,12 +1,14 @@
/** @jsx h */
import { h } from "preact";
import Counter from "../../islands/Counter.tsx";
import Test from "../../islands/Test.tsx";
export default function Home() {
return (
<div>
<Counter id="counter1" start={3} />
<Counter id="counter2" start={10} />
<Test message="" />
</div>
);
}