Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsaplin committed Dec 12, 2023
1 parent eafdb21 commit 605e02b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ The project is a proof of concept for integrating Target VEC with Helix.

## Adding Target integration to a Helix project
1. Copy the [`scripts/target.js`](scripts/target.js) to your project.
2. Include the script in the [`head.html`](index.html) as early as possible:
```html
<script src="./scripts/target.js" type="module"></script>
```
2. Add a call to `loadTargetOffers` to the 'loadPage' function as follows:
```js
async function loadPage() {
Expand Down

0 comments on commit 605e02b

Please sign in to comment.