- Beranda
- Komunitas
- Tech
- Website, Webmaster, Webdeveloper
[ASK] isotope


TS
garissan
[ASK] isotope
Ane masih newbie di Magento, ini pakai Megento 2.
Jadi gini ane mau masang isotope dari https://isotope.metafizzy.co/.
Ane naruh file JS-nya di app\code\Shop\Custom\view\frontend\web\js\isotope.min.js
Ini code app\code\Shop\Custom\view\frontend\requirejs-config.js
Yang jadi masalah di console browsernya keluar error
Failed to load resource: the server responded with a status of 404 (Not Found)
http://_______/pub/static/_______/frontend/Shop/cookbook/en_US/Shop_Custom/js/isotope.min/masonry.js
Itu kenapa ya dan gimana cara benerinnya... ?
Untuk JS yang lain nggak masalah, lancar-lancar aja... .
Jadi gini ane mau masang isotope dari https://isotope.metafizzy.co/.
Ane naruh file JS-nya di app\code\Shop\Custom\view\frontend\web\js\isotope.min.js
Ini code app\code\Shop\Custom\view\frontend\requirejs-config.js
Code:
var config = {
map: {
'*': {
bannerslider: 'UOLshop_CustomHome/js/flexslider',
custom: 'UOLshop_CustomHome/js/custom',
slickslidercustom: 'UOLshop_CustomHome/js/slick.min',
masonry: 'UOLshop_CustomHome/js/isotope.min',
tageditor: 'UOLshop_CustomHome/js/jquery.tag-editor',
caret: 'UOLshop_CustomHome/js/jquery.caret.min',
}
},
"shim": {
"3-rd-party-plugin": ["jquery"]
}
};
Yang jadi masalah di console browsernya keluar error
Failed to load resource: the server responded with a status of 404 (Not Found)
http://_______/pub/static/_______/frontend/Shop/cookbook/en_US/Shop_Custom/js/isotope.min/masonry.js
Itu kenapa ya dan gimana cara benerinnya... ?
Untuk JS yang lain nggak masalah, lancar-lancar aja... .
0
1.1K
0


Komentar yang asik ya


Komentar yang asik ya
Komunitas Pilihan