nuxt-maps-module

0.2.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.2
    1
    • latest

Version History

Package Sidebar

Install

npm i nuxt-maps-module

Weekly Downloads

1

Version

0.2.2

License

MIT

Unpacked Size

9.54 kB

Total Files

7

Last publish

Collaborators

  • franckoaj