Initial commit
This commit is contained in:
16
index.js
Normal file
16
index.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import GoogleMap from './components/Map'
|
||||
import Marker from './components/Marker'
|
||||
import Circle from './components/Circle'
|
||||
import Polygon from './components/Polygon'
|
||||
import Rectangle from './components/Rectangle'
|
||||
|
||||
export default {
|
||||
install: (app, options) => {
|
||||
app.component('GoogleMap', GoogleMap)
|
||||
app.component('Marker', Marker)
|
||||
app.component('Circle', Circle)
|
||||
app.component('Polygon', Polygon)
|
||||
app.component('Rectangle', Rectangle)
|
||||
app.provide('apiKey', options.apiKey)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user