0.1.0 • Published 4 years ago
@mcxbr/custom-stock-status v0.1.0
PWA Custom Stock Status
Installation
- Create an Empty PWA Studio Project by Scaffolding
cd your_project/srcmkdir @mcxbr- copy module folder to
@mcxbr - 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
- for development:
- 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;- Run the Watch command:
yarn watch.
0.1.0
4 years ago