写在最前 1. 前端集成 npm install maplibre-gl <template> <div ref="mapContainer" class="maplibre-map"></div> </template> <script setup lang="ts"> import { o