【发布时间】:2017-10-12 17:30:43
【问题描述】:
购物... 我已将 json 文件上传到资产中。我有需要 json 文件目录的 JavaScript 代码。请参阅下面的代码 -
container: elem,
renderer: 'svg',
loop: false,
autoplay: true,
rendererSettings: {
progressiveLoad:false
},
path: 'data.json' <-----I need to call the json file here it is already uploaded into assests*******************************************************>
};
anim = bodymovin.loadAnimation(animData);
</script>
【问题讨论】:
标签: javascript json shopify