Skip to content

Commit 96efb72

Browse files
author
yang
authored
fix(global-api): typo (vuejs#226)
1 parent 80b1723 commit 96efb72

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/api/global-api.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,9 @@ import { createApp, defineAsyncComponent } from 'vue'
156156
createApp({
157157
// ...
158158
components: {
159-
components: {
160-
AsyncComponent: defineAsyncComponent(() =>
161-
import('./components/AsyncComponent.vue')
162-
)
163-
}
159+
AsyncComponent: defineAsyncComponent(() =>
160+
import('./components/AsyncComponent.vue')
161+
)
164162
}
165163
})
166164
```

0 commit comments

Comments
 (0)