0.0.7 • Published 3 years ago

tt-uip-mapbox v0.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

tt-uip-mapbox

Project setup

>> main.ts
import { createApp } from 'vue'
import App from './App.vue'
import { store } from './store'
import TTUIPMAPBOX from "tt-uip-mapbox"

createApp(App).use(store).use(TTUIPMAPBOX, {
    store: store
}).mount('#app')

>> .env.local
VITE_MAPBOX_API_KEY="<YOUR-MAPBOX-API-KEY>"

Using mabox Store

>> wherever you need it, you can use the pina store
import { mapboxStore as useMapStore } from "@/plugins/tt-uip-mapbox";
0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago