nuxt-vue-map-ui
TypeScript icon, indicating that this package has built-in type declarations

1.0.16 • Public • Published

nuxt-vue-map-ui npm version npm downloads

Vue Map UI module for Nuxt.

Features

  • Automatically import components on demand.
  • Automatically import of useMap and other methods.
  • Automatically add tailwind base styles.
  • Automatically add leaflet styles.
  • Automatically add library styles.

Installation

$ npm install -D nuxt-vue-map-ui
export default defineNuxtConfig({
  modules: ['nuxt-vue-map-ui'],
  vueMap: {
    /** Options */
  }
});

Usage

<template>
  <v-map></v-map>
  <VMap></VMap>
</template>

Read playground for more examples.

Options

autoImports

  • Type: boolean
  • Default: true

Determine if vue-map-ui composables should be automatically imported and accessible within your nuxt app.

styles

  • Type: boolean | object
  • Default: true

Enables / disables various css styles.

leafletStyle

  • Type: boolean

Specify if add leaflet styles.

normalizeStyle

  • Type: boolean

Specify if add tailwind base styles.

libraryStyle

  • Type: boolean

Specify if add vue-map-ui styles.

themeStyle

  • Type: boolean

Specify if add vue-map-ui theme styles.

components

  • Type: array

If there are components that are not imported automatically from Vue Map UI, you need to add the component name here.

e.g. ['VMap']

imports

  • Type: array

If you wish to add automatically import content from Vue Map UI, you can add it here.

License

Licensed under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i nuxt-vue-map-ui

Weekly Downloads

2

Version

1.0.16

License

MIT

Unpacked Size

10.2 kB

Total Files

11

Last publish

Collaborators

  • nikolaynau