Closed fonglezen closed 7 years ago
无法正常使用
@SoloJiang 麻烦提供下报错信息
没有任何报错,当config按Read.me中填写时,连第三张图的渲染也没有,查看控制台,渲染了div.social-share但是高度为0,里面没有任何内容。
components: {
Share
}
没有使用 Vue.use(Share) 的话,需要声明 component
使用了Vue.use(Share),是在main.js中import并use的
直接抄了你的源码😂就好了
hello.
import 'social-share.js/dist/css/share.min.css'
把这段代码放在main.js里面就好.我本地这样是ok的.
rt.