Skip to content

Commit

Permalink
some alignment updates in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano committed Feb 4, 2024
1 parent 7668017 commit a4ca957
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ const changeName = () => {
</script>

<template>
<Observer>
<div>Name: {{ data.name }}</div>
<button @click="changeName">Change name</button>
</Observer>
<Observer>
<div>Name: {{ data.name }}</div>
<button @click="changeName">Change name</button>
</Observer>
</template>
```

Expand Down Expand Up @@ -107,9 +107,9 @@ const state = useGlobalObservable()
</script>

<template>
<div>Count: {{ state.count }}</div>
<div>Doubled: {{ state.double }}</div>
<button @click="state.increment">Increment</button>
<div>Count: {{ state.count }}</div>
<div>Doubled: {{ state.double }}</div>
<button @click="state.increment">Increment</button>
</template>
```

Expand Down

0 comments on commit a4ca957

Please sign in to comment.