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
import { createApp } from 'vue'
import * as VueGoogleMaps from '@fawmi/vue-google-maps'
import VueGoogleMaps from '@fawmi/vue-google-maps'
const app = createApp(App);
app.use(VueGoogleMaps, {

View File

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

View File

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