Skip to content

Commit 7986693

Browse files
authored
docs: fix grammar
1 parent f7a57b8 commit 7986693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/components/props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ watchEffect(() => {
135135
})
136136
```
137137

138-
In version 3.4 and below, `foo` is an actual constant and will never change. In version 3.5 and above, Vue's compiler automatically prepends `props.` when code in the same `<script setup>` block accesses variables destructured from `defineProps`. Therefore the code above becomes equivalent to the following:
138+
In version 3.4 and below, `foo` is an actual constant and will never change. In version 3.5 and above, Vue's compiler automatically prepends `props` when code in the same `<script setup>` block accesses variables destructured from `defineProps`. Therefore the code above becomes equivalent to the following:
139139

140140
```js {5}
141141
const props = defineProps(['foo'])

0 commit comments

Comments
 (0)