Stuck in a situation where you want to get url from .js file and append it with your module controller link from? The solution is to get Magento 2 URL in JS file.

Name:  How-to-Get-Magento-2-URL-in-JS-File-Social-share.png
Views: 6
Size:  16.0 KB

Get the solution at

View more threads in the same category: