@magenable/top-bar-notification
v1.0.1
Published
An extension for Magento PWA Studio that allow to display simple notice at the top of the page
Downloads
14
Readme
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
- Add dependency to PWA Studio project
yarn add @magenable/top-bar-notification- 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);- Re-build your PWA project
Upgrade
yarn upgrade @magenable/top-bar-notificationConfiguration
For more information about configuration see readme in the next module https://packagist.org/packages/magenable/module-top-bar-notification.
Storefront view:


