1.37.0 • Published 5 years ago

@base-cms/marko-web-reveal-ad v1.37.0

Weekly downloads
42
License
MIT
Repository
github
Last release
5 years ago

BaseCMS Marko Web Reveal Ad Components

Installation

  1. Add @base-cms/marko-web-revel-ad to your project/site.

  2. Include the Browser plugin.

    // your-site/browser/index.js
    import RevealAd from '@base-cms/marko-web-reveal-ad/browser';
    
    RevealAd(Browser);
    
    export default Browser;
  3. Include the styles

    // your-site/server/styles/index.scss
    @import "../../node_modules/@base-cms/marko-web-reveal-ad/scss/reveal-ad";
  4. Load the listener component on all pages, as close to the opening <body> tag as possible. This is usually handled in a common site document.marko component

    <marko-web-document ...input>
      <@head>
        <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
        <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
        <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
        <link rel="manifest" href="/site.webmanifest">
        <marko-web-gam-init />
        <${input.head} />
        <marko-web-gam-enable />
        <marko-web-gam-targeting key-values={ uri: req.path } />
      </@head>
      <@above-container>
        <marko-web-reveal-ad-listener />
        <default-theme-site-header />
        <default-theme-site-menu />
        <${input.aboveContainer} />
      </@above-container>
    </marko-web-document>
1.37.0

5 years ago

1.26.3

5 years ago

1.25.6

5 years ago

1.25.0

5 years ago

1.19.2

5 years ago

1.16.2

5 years ago

1.12.1

5 years ago

1.9.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

1.0.0-rc.1

6 years ago

1.0.0-beta.4

6 years ago

1.0.0-beta.2

6 years ago

1.0.0-beta.1

6 years ago

1.0.0-alpha.2

6 years ago

1.0.0-alpha.1

6 years ago