1 Star 3 Fork 0

willpengat2h / vue-baidu-map

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
Dafrok 提交于 2017-05-26 19:57 . En docs

VUE BAIDU MAP

Baidu Map components for Vue 2.x

npm Travis Package Quality npm license

Languages

Documentation

https://dafrok.github.io/vue-baidu-map

Get Start

Installation

npm i --save vue-baidu-map

Initialization

import Vue from 'vue'
import BaiduMap from 'vue-baidu-map'

Vue.use(BaiduMap, {
  /* Visit http://lbsyun.baidu.com/apiconsole/key for details about app key. */
  ak: 'YOUR_APP_KEY'
})

Usage

<template>
  <baidu-map class="map">
  </baidu-map>
</template>

<style>
/* The container of BaiduMap must be set width & height. */
.map {
  width: 100%;
  height: 300px;
}
</style>

Contributing

Contributing Guide

License

MIT License

Copyright (c) 2016-present, Dafrok o.o@mug.dog

1
https://gitee.com/willpengat2h/vue-baidu-map.git
git@gitee.com:willpengat2h/vue-baidu-map.git
willpengat2h
vue-baidu-map
vue-baidu-map
master

搜索帮助