{"id":22490132,"url":"https://github.com/nuxt-modules/leaflet","last_synced_at":"2025-08-18T12:39:13.042Z","repository":{"id":177018364,"uuid":"658042691","full_name":"nuxt-modules/leaflet","owner":"nuxt-modules","description":"A Nuxt module to use Leaflet","archived":false,"fork":false,"pushed_at":"2025-08-14T13:51:40.000Z","size":4242,"stargazers_count":155,"open_issues_count":11,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-17T15:52:03.909Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://leaflet.nuxtjs.org/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nuxt-modules.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-24T15:31:30.000Z","updated_at":"2025-08-14T13:51:22.000Z","dependencies_parsed_at":"2023-10-16T13:16:46.061Z","dependency_job_id":"583c85e6-0ea1-452a-8295-fb6dcb07eb48","html_url":"https://github.com/nuxt-modules/leaflet","commit_stats":{"total_commits":214,"total_committers":8,"mean_commits":26.75,"dds":0.5233644859813085,"last_synced_commit":"9aa4040e51a795fff68267febe84c73cd0f9b036"},"previous_names":["gugustinette/nuxt-leaflet","nuxt-modules/leaflet"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/nuxt-modules/leaflet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fleaflet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fleaflet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fleaflet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fleaflet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuxt-modules","download_url":"https://codeload.github.com/nuxt-modules/leaflet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fleaflet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270869858,"owners_count":24659888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-06T17:21:50.642Z","updated_at":"2025-08-18T12:39:13.022Z","avatar_url":"https://github.com/nuxt-modules.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"[![@nuxtjs/leaflet](./docs/public/cover.png)](https://leaflet.nuxtjs.org)\n\n# Nuxt Leaflet\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![License][license-src]][license-href]\n[![Nuxt][nuxt-src]][nuxt-href]\n\nA Nuxt module to use Leaflet.\nIt was made using [Vue Leaflet](https://github.com/vue-leaflet/vue-leaflet) which is a Vue 3 wrapper for Leaflet, that exposes the original Leaflet API as Vue components.\n\nThis module is really just about making it work with Nuxt without the need to configure anything.\n\n- [✨ \u0026nbsp;Release Notes](/CHANGELOG.md)\n\u003c!-- - [🏀 Online playground](https://stackblitz.com/github/nuxtjs/leaflet?file=playground%2Fapp.vue) --\u003e\n- [📖 \u0026nbsp;Documentation](https://leaflet.nuxtjs.org)\n\n## Features\n\n- ⚡ \u0026nbsp;No configuration needed\n- 🦺 \u0026nbsp;Typescript support\n- 🚠 \u0026nbsp;Auto import\n\n## Quick Setup\n\n```bash\nnpx nuxi@latest module add @nuxtjs/leaflet\n```\n\nThat's it! You can now use Leaflet in your Nuxt app ✨\n\n## Usage\n\nFor a complete list of the components available, check out the [official documentation](https://leaflet.nuxtjs.org/components/introduction.html) library.\n\n### Basic\n\n```vue\n\u003ctemplate\u003e\n  \u003cdiv style=\"height:100vh; width:100vw\"\u003e\n    \u003cLMap\n      ref=\"map\"\n      :zoom=\"zoom\"\n      :center=\"[47.21322, -1.559482]\"\n      :use-global-leaflet=\"false\"\n    \u003e\n      \u003cLTileLayer\n        url=\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\"\n        attribution=\"\u0026amp;copy; \u003ca href=\u0026quot;https://www.openstreetmap.org/\u0026quot;\u003eOpenStreetMap\u003c/a\u003e contributors\"\n        layer-type=\"base\"\n        name=\"OpenStreetMap\"\n      /\u003e\n    \u003c/LMap\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript setup\u003e\nimport { ref } from 'vue'\nconst zoom = ref(6)\n\u003c/script\u003e\n```\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Generate type stubs\nnpm run dev:prepare\n\n# Develop with the playground\nnpm run dev\n\n# Build the playground\nnpm run dev:build\n\n# Run Vitest\nnpm run test\nnpm run test:watch\n\n# Release new version\nnpm run release\n```\n\n\u003c!-- Badges --\u003e\n[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/leaflet/latest.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-version-href]: https://www.npmjs.com/package/@nuxtjs/leaflet\n\n[npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtjs/leaflet.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-downloads-href]: https://www.npmjs.com/package/@nuxtjs/leaflet\n\n[license-src]: https://img.shields.io/npm/l/@nuxtjs/leaflet.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[license-href]: https://www.npmjs.com/package/@nuxtjs/leaflet\n\n[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js\n[nuxt-href]: https://nuxt.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuxt-modules%2Fleaflet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuxt-modules%2Fleaflet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuxt-modules%2Fleaflet/lists"}