mapbox-use
v0.0.3
Published
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![bundle][bundle-src]][bundle-href] [![Codecov][codecov-src]][codecov-href] [![License][license-src]][license-href] [![JSDocs][jsdocs-src]][jsdo
Downloads
6
Readme
MapboxUse
Mapbox GL JS hooks for Vue.
Usage
Install package:
# npm
npm install mapbox-use
# yarn
yarn add mapbox-use
# pnpm
pnpm install mapbox-use
Import:
// ESM
import { useMapbox } from "mapbox-use";
// CommonJS
const { useMapbox } = require("mapbox-use");
Development
- Clone this repository
- Install latest LTS version of Node.js
- Enable Corepack using
corepack enable
- Install dependencies using
pnpm install
- Run interactive tests using
pnpm dev
License
Made with 💛
Published under MIT License.