Socket
Socket
Sign inDemoInstall

@parameter1/base-cms-marko-web-reveal-ad

Package Overview
Dependencies
268
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @parameter1/base-cms-marko-web-reveal-ad

Custom Reveal Ad Marko/Vue components for BaseCMS websites


Version published
Weekly downloads
1K
decreased by-33.29%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

BaseCMS Marko Web Reveal Ad Components

Installation

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

  2. Include the Browser plugin.

// your-site/browser/index.js
import RevealAd from '@parameter1/base-cms-marko-web-reveal-ad/browser';

RevealAd(Browser);

export default Browser;
  1. Include the styles
// your-site/server/styles/index.scss
@import "../../node_modules/@parameter1/base-cms-marko-web-reveal-ad/scss/reveal-ad";
  1. 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>

FAQs

Last updated on 11 Aug 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc