Skip to content

Commit

Permalink
docs: change comments for pwa-elements defineCustomElements (#3191)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Oct 30, 2023
1 parent 1ac10cd commit 23bc2fa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/angular/your-first-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Next, import `@ionic/pwa-elements` by editing `src/main.ts`.
```tsx
import { defineCustomElements } from '@ionic/pwa-elements/loader';

// Call the element loader after the platform has been bootstrapped
// Call the element loader before the bootstrapModule/bootstrapApplication call
defineCustomElements(window);
```

Expand Down
2 changes: 1 addition & 1 deletion docs/react/your-first-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Next, import `@ionic/pwa-elements` by editing `src/main.tsx`.
```tsx
import { defineCustomElements } from '@ionic/pwa-elements/loader';

// Call the element loader after the platform has been bootstrapped
// Call the element loader before the render call
defineCustomElements(window);
```

Expand Down
2 changes: 0 additions & 2 deletions docs/vue/your-first-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ Next, import `@ionic/pwa-elements` by editing `src/main.ts`.
```tsx
// Above the createApp() line
import { defineCustomElements } from '@ionic/pwa-elements/loader';

// Call the element loader after the platform has been bootstrapped
defineCustomElements(window);
```

Expand Down

1 comment on commit 23bc2fa

@vercel
Copy link

@vercel vercel bot commented on 23bc2fa Oct 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ionic-docs – ./

ionic-docs-ionic1.vercel.app
ionic-docs-git-main-ionic1.vercel.app
ionic-docs-gqykycf8t.vercel.app

Please sign in to comment.