vue.js 3 components for Google maps
This repo is still in active development. Most of the components are already implemeted, but some important parts are still missing. Documentations may not be fully upto date.
to install it via NPM
npm install -S @fawmi/vue-google-maps
You can also install via Yarn
yarn add @fawmi/vue-google-maps
Here is a basic example
import { createApp } from 'vue'
import googleMap from '@fawmi/vue-google-maps'
import App from './App.vue';
const googleMapOption = {
apiKey: 'here_comes_your_api_key',
}
const app = createApp(App);
app.use(googleMap, googleMapOption)
app.mount('#app')
Checkout https://vue-map.netlify.app for a detailed documentation