Skip to content

Commit 445d02f

Browse files
authored
fix example for consistency (vuejs#1595)
The `<button>` element is already used in the example above. This commit updates the next example, where a `<div>` is used instead.
1 parent c8e0781 commit 445d02f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/scaling-up/ssr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ import { createSSRApp } from 'vue'
163163
export function createApp() {
164164
return createSSRApp({
165165
data: () => ({ count: 1 }),
166-
template: `<div @click="count++">{{ count }}</div>`
166+
template: `<button @click="count++">{{ count }}</button>`
167167
})
168168
}
169169
```

0 commit comments

Comments
 (0)