Skip to content

Commit 23bc2fa

Browse files
authored
docs: change comments for pwa-elements defineCustomElements (#3191)
1 parent 1ac10cd commit 23bc2fa

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

docs/angular/your-first-app.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Next, import `@ionic/pwa-elements` by editing `src/main.ts`.
106106
```tsx
107107
import { defineCustomElements } from '@ionic/pwa-elements/loader';
108108

109-
// Call the element loader after the platform has been bootstrapped
109+
// Call the element loader before the bootstrapModule/bootstrapApplication call
110110
defineCustomElements(window);
111111
```
112112

docs/react/your-first-app.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Next, import `@ionic/pwa-elements` by editing `src/main.tsx`.
104104
```tsx
105105
import { defineCustomElements } from '@ionic/pwa-elements/loader';
106106

107-
// Call the element loader after the platform has been bootstrapped
107+
// Call the element loader before the render call
108108
defineCustomElements(window);
109109
```
110110

docs/vue/your-first-app.md

-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ Next, import `@ionic/pwa-elements` by editing `src/main.ts`.
104104
```tsx
105105
// Above the createApp() line
106106
import { defineCustomElements } from '@ionic/pwa-elements/loader';
107-
108-
// Call the element loader after the platform has been bootstrapped
109107
defineCustomElements(window);
110108
```
111109

0 commit comments

Comments
 (0)