0.2.2 • Published 3 years ago

nuxt-maps-module v0.2.2

Weekly downloads
17
License
MIT
Repository
-
Last release
3 years ago

nuxt-maps-module

Nuxt module allowing you to inject google maps javascript api to the project This repo was forked from https://github.com/WilliamDASILVA/nuxt-google-maps-module.

Include support to runtimeConfig

📖 Release Notes

Setup

  1. Add the nuxt-maps-module dependency with yarn or npm to your project
  2. Add nuxt-maps-module to the modules section of nuxt.config.js
  3. Configure it:
{
  modules: [
    // Simple usage
    'nuxt-maps-module',

    // With options
    ['nuxt-maps-module', { /* module options */ }]
  ]
}

Options

  • key (String): maps key;
  • libraries (Array): Google maps libraries

Using runtimeConfig

  publicRuntimeConfig: {
    gmaps: {
      key: 'QAxefdneu...'
    }
  }

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

License

MIT License

0.2.1

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.4

3 years ago

0.1.5

3 years ago

0.1.3

3 years ago