Skip to content

Commit

Permalink
Remove section about manually including script (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhiggins-stripe authored Nov 21, 2023
1 parent 7b2fec6 commit 9f8445d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,6 @@ script tag is inserted immediately upon page load.
import "@stripe/connect-js";
```

### Manually include the script tag

Manually add the Connect.js script tag to the `<head>` of each page on your site.
If an existing script tag is already present, this module will not insert a new
one. When you call `loadConnectAndInitialize`, it will use the existing script tag.

```html
<!-- Somewhere in your site's <head> -->
<script src="https://connect-js.stripe.com/v0.1/connect.js" async></script>
```

### Importing `loadConnectAndInitialize` without side effects

If you would like to use `loadConnectAndInitialize` in your application, but defer loading the
Expand Down

0 comments on commit 9f8445d

Please sign in to comment.