Export default function
This commit is contained in:
@@ -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, {
|
||||||
|
|||||||
@@ -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": [
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user