Files
WRNexusJS/examples/basic-app/app/pages/client-only.wrn
T
Clintchiz 586a6db8ff
Quality / quality (ubuntu-latest) (push) Failing after 21s
Quality / quality (windows-latest) (push) Canceled after 0s
release: WRNexusJS 0.8.0
2026-08-02 23:18:51 +05:30

16 lines
346 B
Plaintext

page ClientOnly {
layout = "public"
render = "client"
hydrate = "load"
state count: number = 0
view {
<section class="wire-card stack">
<p class="wire-badge">Mounted in the browser</p>
<h1>Client-only page</h1>
<button type="button" class="wire-btn" @click="count++">Count: {count}</button>
</section>
}
}