You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ module.exports = {
83
83
<details>
84
84
<summary>Nuxt</summary><br>
85
85
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.
87
87
88
88
<br></details>
89
89
@@ -105,9 +105,9 @@ module.exports = {
105
105
106
106
## Usage
107
107
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.
109
109
110
-
Basically, it will automatically turn this
110
+
It will automatically turn this
111
111
112
112
```html
113
113
<template>
@@ -146,7 +146,7 @@ export default {
146
146
147
147
## TypeScript
148
148
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.
150
150
151
151
```ts
152
152
Components({
@@ -196,7 +196,7 @@ Components({
196
196
})
197
197
```
198
198
199
-
You can also write your own resolver easily:
199
+
You can also write your own resolver quickly:
200
200
201
201
```ts
202
202
Components({
@@ -211,8 +211,7 @@ Components({
211
211
})
212
212
```
213
213
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!
0 commit comments