diff --git a/src/api/global-api.md b/src/api/global-api.md index 7febfd64e3..12d49956e9 100644 --- a/src/api/global-api.md +++ b/src/api/global-api.md @@ -202,7 +202,7 @@ import { defineAsyncComponent } from 'vue' const AsyncComp = defineAsyncComponent({ // The factory function - loader: () => import('./Foo.vue') + loader: () => import('./Foo.vue'), // A component to use while the async component is loading loadingComponent: LoadingComponent, // A component to use if the load fails