We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1b6ef9 commit 5acb49eCopy full SHA for 5acb49e
packages/demo/pages/index.vue
@@ -17,7 +17,9 @@
17
import 'mapbox-gl/dist/mapbox-gl.css';
18
import '@mapbox/mapbox-gl-geocoder/lib/mapbox-gl-geocoder.css';
19
20
- const { accessToken } = useRuntimeConfig();
+ const {
21
+ public: { accessToken },
22
+ } = useRuntimeConfig();
23
const lng = ref(0);
24
const lat = ref(0);
25
const zoom = ref(1);
packages/demo/pages/issue-77.vue
@@ -3,7 +3,9 @@
3
import { MapboxMap, MapboxGeolocateControl } from '@studiometa/vue-mapbox-gl';
4
5
6
7
8
9
10
const geolocate = ref();
11
const control = computed(() => geolocate.value?.control);
0 commit comments