Skip to content

Commit b0d4530

Browse files
committed
+ Update README.md
1 parent 68e8004 commit b0d4530

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![npm version](https://badge.fury.io/js/@lancercomet%2Fvue2-jsx-runtime.svg)](https://badge.fury.io/js/@lancercomet%2Fvue2-jsx-runtime)
44
![Testing](https://github.com/LancerComet/vue2-jsx-runtime/workflows/Test/badge.svg)
55

6-
This is a package for handling Vue 2 JSX, you can use it with your favourite toolchain like SWC, TSC, Vite* to convert Vue 2 JSX.
6+
This is a package for handling Vue 2 JSX, you can use it with your favourite toolchain like SWC, TSC, Vite* to handle Vue 2 JSX.
77

88
## What's the different between this and Vue official solution?
99

@@ -342,18 +342,17 @@ This will be rendered as
342342

343343
These format below are also available, but they are NOT recommended, just for compatibility.
344344

345-
### Passing value
345+
### On
346346

347347
```tsx
348-
<button v-bind:disabled={isDisabledRef.value}>Wow such a button</button>
349-
<button vBind:disabled={isDisabledRef.value}>Wow such a button</button>
348+
<div v-on:click={onClick}></div>
349+
<div vOn:click={onClick}></div>
350350
```
351351

352-
### On
352+
### v-model
353353

354354
```tsx
355-
<div v-on:click={onClick}></div>
356-
<div vOn:click={onClick}></div>
355+
<input vModel={userInpuptRef.value} />
357356
```
358357

359358
## For Vite users

0 commit comments

Comments
 (0)