Export default function

This commit is contained in:
Fawad Mirzad
2021-02-14 16:18:36 +01:00
parent ba3de9ce74
commit 9b948943c0
3 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ In your `main.js` or inside a Nuxt plugin:
```js ```js
import { createApp } from 'vue' import { createApp } from 'vue'
import * as VueGoogleMaps from '@fawmi/vue-google-maps' import VueGoogleMaps from '@fawmi/vue-google-maps'
const app = createApp(App); const app = createApp(App);
app.use(VueGoogleMaps, { app.use(VueGoogleMaps, {

View File

@@ -1,7 +1,7 @@
{ {
"name": "@fawmi/vue-google-maps", "name": "@fawmi/vue-google-maps",
"description": "Google Map components for Vue.js 3", "description": "Google Map components for Vue.js 3",
"version": "0.7.6", "version": "0.7.7",
"private": false, "private": false,
"main": "src/main.js", "main": "src/main.js",
"keywords": [ "keywords": [

View File

@@ -33,7 +33,7 @@ export {
MountableMixin, MountableMixin,
} }
export function install(Vue, options) { export default function install(Vue, options) {
options = { options = {
installComponents: true, installComponents: true,
autobindAllEvents: false, autobindAllEvents: false,