# VUE BAIDU MAP
基于 VUE 2.x 的百度地图组件
[]() []() [](http://packagequality.com/#?package=vue-baidu-map) []() []() ## 语言 - [中文](https://github.com/Dafrok/vue-baidu-map/blob/master/README.zh.md) - [English](https://github.com/Dafrok/vue-baidu-map/blob/master/README.md) ## 文档 [https://dafrok.github.io/vue-baidu-map](https://dafrok.github.io/vue-baidu-map) ## 开始 ### 安装 ```bash npm i --save vue-baidu-map ``` ### 初始化 ```javascript import Vue from 'vue' import BaiduMap from 'vue-baidu-map' Vue.use(BaiduMap, { // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */ ak: 'YOUR_APP_KEY' }) ``` ### 使用 ```vue