0

How to add Node packages to your Magento 2 site. how to implement in require-config.js using knockout js.

I have already applied the commands below file.

/var/www/html/project/app/code/vendor/module/view/frontend/

npm install @web3modal/ethers5 [email protected]

after I add below code add require-config.js for example.

var config = {
paths: {
    ethers: 'Vendor_Module/node_modules/@web3modal/ethers5'
}
};

but my Magento frontend side does not show js. so please help me. how can I implement it?

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.