release: WRNexusJS 0.8.0
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user