diff --git a/site/src/pages/index.html b/site/src/pages/index.html
index 3361daa..0e8ff88 100644
--- a/site/src/pages/index.html
+++ b/site/src/pages/index.html
@@ -123,6 +123,9 @@ export class Counter extends WebComponent {
static props = {
count: 0
}
+ onInit() {
+ // do something...
+ }
get template() {
return html`
<button onClick=${() => ++this.props.count}>