前端系列--vue2+高德地图网站开发(使用与介绍)--vue的使用
最编程
2024-03-28 17:40:49
...
在我们需要的组件中导入使用MapContainer.vue即可
<template>
<div>
<map-container></map-container>
</div>
</template>
<script>
import MapContainer from "@/components/MapContainer/MapContainer";
export default {
components: {MapContainer}
}
</script>