0.1.0 • Published 2 years ago

@mcxbr/product-labels v0.1.0

Weekly downloads
-
License
Commercial
Repository
-
Last release
2 years ago

PWA product-labels

Installation

  1. Create an Empty PWA Studio Project by Scaffolding
  2. cd your_project/src
  3. mkdir @mcxbr
  4. copy module folder to @mcxbr
  5. run command from root directory

    • for development: yarn add link:src/@mcxbr/product-labels
    • for production: yarn add file:src/@mcxbr/product-labels
  6. Add call extend-intercept.js to local-intercept.js. Example:

const amProductLabelsIntercept = require('@mcxbr/product-labels/targets/extend-intercept');

function localIntercept(targets) {
    amProductLabelsIntercept(targets);
}

module.exports = localIntercept;