view-design / ViewUI

A high quality UI Toolkit built on Vue.js 2.0
https://www.iviewui.com/
Other
2.65k stars 797 forks source link

ts+vite.js+vue3 中 ui引入不了 #955

Open Feellove opened 3 years ago

Feellove commented 3 years ago

IPFKOE(32{(W}8QLAQIZXR6

类型“IView”的参数不能赋给类型“Plugin_2”的参数。 类型 "IView" 中缺少属性 "install",但类型 "{ install: PluginInstallFunction; }" 中需要该属性。ts(2345) runtime-core.d.ts(1218, 5): 在此处声明了 "install"。 (alias) const ViewUI: IView import ViewUI

nabaonan commented 3 years ago

iview不支持vue3啊

nabaonan commented 3 years ago

如果想结合vite加TS使用,参考一下我的todos-action项目,有实例