1. vue-baidu-map
Baidu Map Component for Vue 2.0
vue-baidu-map
Package: vue-baidu-map
Created by: Dafrok
Last modified: Tue, 28 Jun 2022 19:01:21 GMT
Version: 0.21.22
License: MIT
Downloads: 14,952
Repository: https://github.com/Dafrok/vue-baidu-map

Install

npm install vue-baidu-map
yarn add vue-baidu-map

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 [email protected]

Dependencies

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin