Javascript 如何在Vue js上安装ShareThis?
我尝试将其放在public index.html中:Javascript 如何在Vue js上安装ShareThis?,javascript,vue.js,components,sharethis,Javascript,Vue.js,Components,Sharethis,我尝试将其放在public index.html中: <script type='text/javascript' src='https://platform-api.sharethis.com/js/sharethis.js#property=5f4e15b2e56e550012ae1e77&product=inline-share-buttons' async='async'></script> 然后我把它放在组件中: <div cl
<script type='text/javascript'
src='https://platform-api.sharethis.com/js/sharethis.js#property=5f4e15b2e56e550012ae1e77&product=inline-share-buttons'
async='async'></script>
然后我把它放在组件中:
<div class="sharethis-inline-share-buttons"></div>
但是什么都没有显示
有什么帮助吗?我该怎么做