Skip to main content

Nuxt

warning

This was taken from the documentation about the version form Vue 2. This should be checked and confirmed.

For Nuxt projects, please import GmapVuePlugin in the following way:

import { GmapVuePlugin } from '~/node_modules/@gmap-vue/v3'

Add the following to your nuxt.config.js's build.extend():

transpile: [/^@gmap-vue\/v3($|\/)/]
note

Please take a look at this example on stackblitz