0.1.0 • Published 2 years ago
@mcxbr/sorting v0.1.0
PWA Sorting
Installation
- Create an Empty PWA Studio Project by Scaffolding
cd your_project/src
mkdir @mcxbr
- copy module folder to
@mcxbr
- run command from root directory
- for development:
yarn add link:src/@mcxbr/sorting
for production:
yarn add file:src/@mcxbr/sorting
- for development:
- Add call extend-intercept.js to local-intercept.js. Example:
const amSortingIntercept = require('@mcxbr/sorting/targets/extend-intercept');
function localIntercept(targets) {
amSortingIntercept(targets);
}
module.exports = localIntercept;
- Run the Watch command:
yarn watch
.
0.1.0
2 years ago