diff --git a/src/guide/migration/async-components.md b/src/guide/migration/async-components.md index ee0b1c9f2c..b9fa2fee1e 100644 --- a/src/guide/migration/async-components.md +++ b/src/guide/migration/async-components.md @@ -66,8 +66,8 @@ const asyncPageWithOptions = defineAsyncComponent({ loader: () => import('./NextPage.vue'), delay: 200, timeout: 3000, - error: ErrorComponent, - loading: LoadingComponent + errorComponent: ErrorComponent, + loadingComponent: LoadingComponent }) ```