Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
require_js.phtml
Go to the documentation of this file.
1 <?php
6 ?>
7 <script>
8  var BASE_URL = '<?= $block->escapeUrl($block->getBaseUrl()) ?>';
9  var require = {
10  "baseUrl": "<?= /* @escapeNotVerified */ $block->getViewFileUrl('/') ?>"
11  };
12 </script>