We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 777cf0d commit 20bfb6bCopy full SHA for 20bfb6b
app/pages/index.vue
@@ -3,6 +3,7 @@ import type { Map } from 'maplibre-gl'
3
import { consola } from 'consola'
4
5
const logger = consola.withTag('map')
6
+const isDev = import.meta.dev
7
8
definePageMeta({
9
layout: false,
@@ -244,7 +245,7 @@ async function onMapLoad(event: { map: Map }) {
244
245
</ClientOnly>
246
<MapControls />
247
<LocationCounter />
- <MapDebugPanel />
248
+ <MapDebugPanel v-if="isDev" />
249
250
<LocationDrawer
251
v-model:open="isDrawerOpen"
0 commit comments