Skip to content

Commit

Permalink
Small fix to README
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrini committed Nov 19, 2023
1 parent 5b5acc5 commit 7b2214a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,14 @@ app.mount('#app')
Alternately, you can link it directly from a CDN:

```html
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script src="https://unpkg.com/[email protected]"></script>

<div id="app">
<input type="number" v-model="x"> + <input type="number" v-model="y">
= {{sum == null ? 'Loading' : sum}}
</div>

<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script src="https://unpkg.com/[email protected]"></script>
<script>
const app = Vue.createApp({
data () {
Expand Down Expand Up @@ -387,7 +388,7 @@ For each async computed property, an object is added to `$asyncComputed` that co

It is meant to be used in your rendering code to display update / error information:

````js
````html
<script>
export default {
asyncComputed: {
Expand Down

0 comments on commit 7b2214a

Please sign in to comment.