0.0.6 • Published 2 years ago

@yireo-training/pwa-studio-example-targetables-react-component v0.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Yireo Example for Adobe PWA Studio targetables.reactComponent

This little NPM package demos code for using the targetables.reactComponent call in Adobe PWA Studio.

NPM installation

To install this package, run the following command in the root of your PWA project:

yarn add @yireo-training/pwa-studio-example-targetables-react-component

Make sure to update your root package.json to add this vendor as trusted:

{  
  ...
  "pwa-studio": {
    "targets": {
      "intercept": "./local-intercept.js"
    },
    "trusted-vendors": [
      "@yireo-training"
    ]
  }
}

### Local installation
Alternatively, clone the sources of this repository to a folder `src/yireo/example` and add the following to the `dependencies` of your roots `package.json` file:

```json
{
  "dependencies": {
    "@yireo-training/pwa-studio-example-targetables-react-component": "src/yireo/example"
  }
}
0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago