Skip to content

Commit 9ea6313

Browse files
committed
docs: wording
1 parent 6cd50ba commit 9ea6313

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
@@ -83,7 +83,7 @@ module.exports = {
8383
<details>
8484
<summary>Nuxt</summary><br>
8585

86-
You don't need this plugin for Nuxt, use [`@nuxt/components`](https://github.com/nuxt/components) instead.
86+
You might not need this plugin for Nuxt. Use [`@nuxt/components`](https://github.com/nuxt/components) instead.
8787

8888
<br></details>
8989

@@ -105,9 +105,9 @@ module.exports = {
105105

106106
## Usage
107107

108-
Use components in templates as you would usually do, it will import components on demand and there is no `import` and `component registration` required anymore! If you register the parent component asynchronously (or lazy route), the auto-imported components will be code-split along with their parent.
108+
Use components in templates as you would usually do, it will import components on demand, and there is no `import` and `component registration` required anymore! If you register the parent component asynchronously (or lazy route), the auto-imported components will be code-split along with their parent.
109109

110-
Basically, it will automatically turn this
110+
It will automatically turn this
111111

112112
```html
113113
<template>
@@ -146,7 +146,7 @@ export default {
146146

147147
## TypeScript
148148

149-
To have TypeScript support for auto-imported components, there is [a PR](https://github.com/vuejs/vue-next/pull/3399) to Vue 3 extending the interface of global components. Currently, [Volar](https://github.com/johnsoncodehk/volar) has supported this usage already, if you are using Volar, you can change the config as following to get the support.
149+
To get TypeScript support for auto-imported components, there is [a PR](https://github.com/vuejs/vue-next/pull/3399) to Vue 3 extending the interface of global components. Currently, [Volar](https://github.com/johnsoncodehk/volar) has supported this usage already. If you are using Volar, you can change the config as following to get the support.
150150

151151
```ts
152152
Components({
@@ -196,7 +196,7 @@ Components({
196196
})
197197
```
198198

199-
You can also write your own resolver easily:
199+
You can also write your own resolver quickly:
200200

201201
```ts
202202
Components({
@@ -211,8 +211,7 @@ Components({
211211
})
212212
```
213213

214-
If you made other UI libraries configured, please feel free to contribute so it can help others using them out-of-box. Thanks!
215-
214+
If you successfully configured other UI libraries, please feel free to contribute and help others using them out-of-box. Thanks!
216215

217216
## Migrate from `vite-plugin-components`
218217

0 commit comments

Comments
 (0)