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 = '<?= /* @escapeNotVerified */ $block->getUrl('*') ?>';
9  var FORM_KEY = '<?= /* @escapeNotVerified */ $block->getFormKey() ?>';
10  var require = {
11  "baseUrl": "<?= /* @escapeNotVerified */ $block->getViewFileUrl('/') ?>"
12  };
13 </script>