react-vue-adform

1.0.2 • Public • Published

react-vue-adform

Small component to implement Adform into your react/vue application

Installation

npm install react-vue-adform --save
yarn add react-vue-adform

Use / Example

import { adform } from 'react-vue-adform';

const params = {
  pm: 666666,
  divider: encodeURIComponent('|'),
  pagename: encodeURIComponent('Example name'),
};

adform.initialize(params);
  • params: it's an object that should contain:
    • pm: as the adform id
    • divider: as the url divider. Example: encodeURIComponent('|')
    • pagename: as the page name. Example: encodeURIComponent('Example name')

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i react-vue-adform

    Weekly Downloads

    3

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    3.15 kB

    Total Files

    6

    Last publish

    Collaborators

    • jfght