@magenable/top-bar-notification

1.0.1 • Public • Published

Top Bar Notification

Top Bar Notification is a Magento PWA Studio extension that allow to display simple notice at the top of the page.

Installation

Prerequisite: In Magento 2 instance should be installed next module: https://packagist.org/packages/magenable/module-top-bar-notification

  1. Add dependency to PWA Studio project
yarn add @magenable/top-bar-notification
  1. Wrap the module in your local-intercept.js file
const { Targetables } = require('@magento/pwa-buildpack');
const targetables = Targetables.using(targets);
const topBarNotification = require('@magenable/top-bar-notification/src/targets');
topBarNotification(targetables);
  1. Re-build your PWA project

Upgrade

yarn upgrade @magenable/top-bar-notification

Configuration

For more information about configuration see readme in the next module https://packagist.org/packages/magenable/module-top-bar-notification.

Storefront view:

top-bar-notification-example-1

top-bar-notification-example-2

Package Sidebar

Install

npm i @magenable/top-bar-notification

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

7.54 kB

Total Files

11

Last publish

Collaborators

  • aleksandr.sh
  • alevashov