2
You are putting the files into wrong location, the location of vendor file is:
vendor/magento/module-checkout/view/frontend/web/js/view/minicart.js
And you are putting it into:
app/design/frontend/<Vendor>/<Theme>/Magento_Checkout/view/frontend/web/js/view/minicart.js
but it should be and this will work perfect
app/design/frontend/<Vendor&...
1
please try:-
open link copy and past in jsPDF.js
https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.2.61/jspdf.debug.js
Replace phtml file:-
<script type="text/javascript" src="<?php echo $this->getViewFileUrl("Vander_Module::js/jsPDF.js"); ?>"></script>
<div id="content">
<h3>...
1
Try to deploy the static content on particular store
php bin/magento setup:static-content:deploy en_US
1
I modified my requirejs-config.js file like below
define('threejs', ['Vendor_Module/js/threejs'], function (THREE) {
window.THREE = THREE;
return THREE;
});
define('gltfloader', ['Vendor_Module/js/GLTFLoader'], function (gltfloader) {
window.gltfloader = gltfloader;
return gltfloader;
});
define('OrbitControls', ['Vendor_Module/js/OrbitControls'],...
1
I was also getting this same issue.
As a temporary fix, I have copied customer-data.js from 2.3.4 to 2.4.1.
Magento has changed the storage initialization in custom-data.js.
UPDATE
I have debugged further and found that the following code
<script>
require([
'Magento_Customer/js/customer-data'
], function (customerData) {
var ...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
javascript × 2151magento2 × 1026
magento-1.9 × 372
jquery × 243
css × 216
requirejs × 188
php × 177
checkout × 125
magento-2.1 × 110
knockoutjs × 99
ajax × 87
magento2.3 × 74
html × 74
frontend × 66
layout × 61
module × 57
theme × 53
magento-1.7 × 52
admin × 52
uicomponent × 49
magento-1.8 × 44
adminhtml × 42
error × 40
onepage-checkout × 40
validation × 39