1.0.2 • Published 4 years ago
@mcxbr/megamenu v1.0.2
PWA mega-menu
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/megamenu for production:
yarn add file:src/@mcxbr/megamenu
- for development:
- Add call extend-intercept.js to local-intercept.js. Example:
const amMegaMenuIntercept = require('@mcxbr/megamenu/targets/extend-intercept');
function localIntercept(targets) {
amMegaMenuIntercept(targets);
}
module.exports = localIntercept;- Run the Watch command:
yarn watch.
1.0.2
4 years ago