vue-amap icon indicating copy to clipboard operation
vue-amap copied to clipboard

关于vue3.0+Ts使用地图报错

Open FlyFishCode opened this issue 4 years ago • 3 comments

问题

下载引入报找不倒依赖。配置 vue-amap.d.ts 文件之后,控制台报Cannot read property 'prototype' of undefined

VueAMap 版本

"^0.5.10"

OS/Browsers version

chrome 版本 86.0.4240.111(正式版本) (64 位)

Vue 版本

"^3.0.0"

复现地址

预期

显示地图

实际

不显示地图,报错

feature request

FlyFishCode avatar Oct 29 '20 08:10 FlyFishCode

这玩意儿就是Vue 2.x的组件,在Vue 3.x中肯定报错啊,

jesse51076008 avatar Dec 16 '20 03:12 jesse51076008

你好呀,

我為 Vue 3.x 開發了 openlayers 包裝器。 如果您願意,您可以查看。 https://github.com/MelihAltintas/vue3-openlayers

文檔:https://vue3openlayers.netlify.app/

MelihAltintas avatar Aug 20 '21 11:08 MelihAltintas

👌

FlyFishCode avatar Aug 23 '21 01:08 FlyFishCode