nuxt-google-maps-module
NuxtJS module to import Google Maps
16,636
22
| Install | |
|---|---|
npm install nuxt-google-maps-module |
|
| Latest Version: | 1.6.0 |
| License: | MIT |
| Last Updated: | Jan 17, 2026 |
| Links: | GitHub · npm |
Maintainer: williamdasilva
Nuxt Google Maps Module
A NuxtJS module to import Google maps script
Table of Contents
Requirements
- npm
- NuxtJS
- NodeJS
Install
$ npm install --save nuxt-google-maps-module
Getting Started
Add nuxt-google-maps-module to modules section of nuxt.config.js.
{
modules: [
// Simple usage
'nuxt-google-maps-module',
// With options
['nuxt-google-maps-module', {
/* module options */
key: 'GOOGLE MAPS KEY', // Default
}],
]
}
or even
{
modules: [
'nuxt-google-maps-module',
],
maps: {
key: 'GOOGLE MAPS KEY',
},
}
Usage
Once configured in nuxt.config.js, you can use it in your components like:
{
...
mounted() {
const autocomplete = new this.$google.maps.places.Autocomplete(inputElement,
{
types: ['geocode'],
},
);
},
...
}
License
Version History
| Version | Released | License |
|---|---|---|
| 1.6.0 | MIT | |
| 1.5.5 | MIT | |
| 1.5.4 | MIT | |
| 1.5.3 | MIT | |
| 1.5.2 | MIT | |
| 1.5.1 | MIT | |
| 1.5.0 | MIT | |
| 1.4.9 | MIT | |
| 1.4.8 | MIT | |
| 1.4.7 | MIT | |
| 1.4.6 | MIT | |
| 1.4.5 | MIT | |
| 1.4.4 | MIT | |
| 1.4.3 | MIT | |
| 1.4.2 | MIT | |
| 1.4.1 | MIT | |
| 1.4.0 | MIT | |
| 1.3.1 | MIT | |
| 1.3.0 | MIT | |
| 1.2.0 | MIT | |
| 1.1.3 | MIT | |
| 1.1.2 | MIT | |
| 1.1.1 | MIT | |
| 1.1.0 | MIT | |
| 1.0.0 | MIT |