0.1.0 • Published 2 years ago

@mcxbr/custom-stock-status v0.1.0

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

PWA Custom Stock Status

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/custom-stock-status
    • for production: yarn add file:src/@mcxbr/custom-stock-status

  6. Add call extend-intercept.js to local-intercept.js. Example:
const amCustomStockStatusIntercept = require('@mcxbr/custom-stock-status/targets/extend-intercept');

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

module.exports = localIntercept;
  1. Run the Watch command: yarn watch.