Hot answers tagged

2

Please use below code in your JS file require([ "IOST", "jquery", "mage/url" ], function( iost, $, url ){ console.log(url) ; }); function transfer(){ console.log(url.build) ; } OR you can use below code for your JS require( ['uiComponent', 'jquery', 'mage/url', 'Iostpay_Iostpaymagento::js/iost.min'], function (uiComponent, $, ...


1

I have installed this extension and followed their instruction and it solved my issue: https://github.com/olegkoval/magento2-regenerate_url_rewrites


Only top voted, non community-wiki answers of a minimum length are eligible