vue-seamless-scroll icon indicating copy to clipboard operation
vue-seamless-scroll copied to clipboard

vue3+ts

Open chenyuan4x7 opened this issue 3 years ago • 4 comments

不能配合ts使用,没有声明文件

chenyuan4x7 avatar Nov 18 '21 08:11 chenyuan4x7

也没几个属性,应该不需要类型声明文件吧

lvfangren avatar Nov 19 '21 03:11 lvfangren

没有几个属性,应该不用说文件吧

好的 感谢回复, 我使用的是 vue3+ts项目 我引用的时候 报错 (Try npm i --save-dev @types/vue-seamless-scroll if it exists or add a new declaration (.d.ts) file containing declare module 'vue-seamless-scroll';)

chenyuan4x7 avatar Nov 23 '21 07:11 chenyuan4x7

这个组件(项目)是不支持vue3的。😂

lvfangren avatar Nov 23 '21 11:11 lvfangren

看之前的issues里有人给予此进行了扩展,可以同时兼容至vue3。不妨看下先,实在不行在去找vue3版本类如此的插件。

lvfangren avatar Nov 23 '21 11:11 lvfangren