Skip to content

wesleyalmd/pwa-studio-newsletter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PWA Studio Newsletter extension

Footer component

Footer Component

Modal component

Modal Component

Requeriments

  • Magento 2.4.1

Extension options

props type default value
showOnFooter bool true
enableModal bool true

Install

1. Adding dependency

yarn add @wesleyalmd/pwa-studio-newsletter

2. Wrap module in your local-intercept.js

const { Targetables } = require('@magento/pwa-buildpack');

module.exports = targets => {
  const targetables = Targetables.using(targets);

  /** Newsletter extension */
  const {
    wrapNewsletterModuleTargetable
  } = require('@wesleyalmd/pwa-studio-newsletter/targets');
  wrapNewsletterModuleTargetable(targetables, {
    showOnFooter: true,
    enableModal: true
  });
};

About

Newsletter extension for PWA Studio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published