zouyaoji / vue-cesium

🎉 Vue 3.x components for CesiumJS.
https://zouyaoji.top/vue-cesium
MIT License
1.49k stars 321 forks source link

[Feature Request] 如何在 Vue2 项目中使用 VueCesium3 ? #165

Closed grade1984 closed 2 years ago

grade1984 commented 2 years ago

Existing Component

Component Name

VueCesium3

Description

在 Vue2 项目中引入 VueCesium3 后, 报错 ref 等 Vue3 的组件找不到定义. 但是 VueCesium3 的说明里写的是支持 Vue2 和 Vue3, 因此想知道, 怎么才能在 Vue2 项目中成功使用 VueCesium3? (目前可以在 Vue2 项目中成功使用 VueCesium2 )

zouyaoji commented 2 years ago

这个没办法的哈,文档可能有歧义了。

想表达的是vue-cesium有vue2和vue3版本~ 我回头去掉了吧

推荐使用vue3的版本

grade1984 commented 2 years ago

VueCesium2 应该就是适用于 Vue2 项目的了吧? 希望这个版本会持续维护. 毕竟不是所有项目都能快速升级到 Vue3 的

zouyaoji commented 2 years ago

目前只维护bug了,不会弄新功能了。

等年底把vue-cesium@next标签去掉了,以后安装vue-cesium默认就是vue3的版本了。