Export default function
This commit is contained in:
@@ -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, {
|
||||
|
||||
@@ -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": [
|
||||
|
||||
@@ -33,7 +33,7 @@ export {
|
||||
MountableMixin,
|
||||
}
|
||||
|
||||
export function install(Vue, options) {
|
||||
export default function install(Vue, options) {
|
||||
options = {
|
||||
installComponents: true,
|
||||
autobindAllEvents: false,
|
||||
|
||||
Reference in New Issue
Block a user