Skip to content

Commit 7e41f6d

Browse files
committed
Formatting and fixed typos
1 parent 8c9b662 commit 7e41f6d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const Component = defineComponent({
9090
### Class Components
9191
[Vue Class Components](https://class-component.vuejs.org/) offers an alternative class-style syntax for Vue components which integrates well with TypeScript.
9292

93-
To have consistent support for decorators in your Vue components, it's also recomended to install [vue-property-decorator](https://github.com/kaorun343/vue-property-decorator).
93+
To have consistent support for decorators in your Vue components, it's also recommended to install [vue-property-decorator](https://github.com/kaorun343/vue-property-decorator).
9494

9595

9696
To get started with both libraries in your existing Vue project, run:
@@ -149,7 +149,7 @@ See the [full guide for Vue Class Components](https://class-component.vuejs.org/
149149
150150
## Props
151151

152-
`PropType` can be used to annote props with a particular object shape.
152+
`PropType` can be used to annotate props with a particular object shape.
153153

154154
```vue
155155
import Vue, { PropType } from 'vue'
@@ -174,7 +174,6 @@ export default Vue.extend({
174174
}
175175
});
176176
</script>
177-
178177
```
179178

180179
With vue-class-components and vue-property-decorator, you can use the `Prop` decorator:
@@ -194,7 +193,6 @@ export default class InfoCard extends Vue {
194193
@Prop({ required: true }) readonly info: PersonInfo;
195194
}
196195
</script>
197-
198196
```
199197

200198
# Other Vue + TypeScript resources

0 commit comments

Comments
 (0)