- Magento 2.3.*
props | type | default value |
---|---|---|
showMask | bool | true |
1. Adding dependency
yarn add @wesleyalmd/pwa-studio-megasearch
2. Wrap module in your local-intercept.js
const { Targetables } = require('@magento/pwa-buildpack');
module.exports = targets => {
const targetables = Targetables.using(targets);
/** Megasearch extension */
const {
wrapMegasearchModuleTargetable
} = require('@wesleyalmd/pwa-studio-megasearch/targets');
wrapMegasearchModuleTargetable(targetables, {
showMask: true
});
};