mapbox-gl-vue
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -475,5 +475,3 @@ /******/ (function(modules) { // webpackBootstrap | ||
el: '#app', | ||
components: { | ||
'mapbox': _Mapbox2.default | ||
}, | ||
components: { Mapbox: _Mapbox2.default }, | ||
methods: { | ||
@@ -480,0 +478,0 @@ mapInit: function mapInit(map) { |
{ | ||
"name": "mapbox-gl-vue", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "A Vue.js component for Mapbox GL js", | ||
@@ -5,0 +5,0 @@ "main": "dist/Mapbox.js", |
@@ -177,5 +177,3 @@ # Mapbox GL JS Vue.js | ||
el: '#app', | ||
components: { | ||
'mapbox': Mapbox | ||
}, | ||
components: { Mapbox }, | ||
methods: { | ||
@@ -235,3 +233,3 @@ mapLoaded(map) { | ||
``` | ||
```html | ||
<mapbox | ||
@@ -260,9 +258,7 @@ access-token="your access token" | ||
``` | ||
```js | ||
import Mapbox from 'mapbox-gl-vue'; | ||
const app = new Vue({ | ||
el: '#app', | ||
components: { | ||
'mapbox': Mapbox | ||
}, | ||
components: { Mapbox }, | ||
methods: { | ||
@@ -287,2 +283,3 @@ mapInitialized(map) { | ||
el: '#app', | ||
components: { Mapbox }, | ||
methods: { | ||
@@ -289,0 +286,0 @@ mapLoaded(map) { |
@@ -5,5 +5,3 @@ import Mapbox from './components/Mapbox.vue'; | ||
el: '#app', | ||
components: { | ||
'mapbox': Mapbox | ||
}, | ||
components: { Mapbox }, | ||
methods: { | ||
@@ -10,0 +8,0 @@ mapInit(map) { |
Sorry, the diff of this file is not supported yet
216207
1293
371