- Created backend structure with Go, including main application logic and API endpoints. - Added Docker support for both development and production environments. - Introduced frontend using Nuxt 3 with Tailwind CSS for styling. - Included configuration files for Docker and environment variables. - Established basic documentation for contributing, development, and deployment processes. - Set up .gitignore and .dockerignore files to manage ignored files in the repository.
19 lines
490 B
Vue
19 lines
490 B
Vue
<template>
|
|
<MapPageWrapper>
|
|
<MapView
|
|
:map-id="mapId"
|
|
:grid-x="gridX"
|
|
:grid-y="gridY"
|
|
:zoom="zoom"
|
|
/>
|
|
</MapPageWrapper>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const route = useRoute()
|
|
const mapId = computed(() => Number(route.params.map) || 0)
|
|
const gridX = computed(() => Number(route.params.gridX) || 0)
|
|
const gridY = computed(() => Number(route.params.gridY) || 0)
|
|
const zoom = computed(() => Number(route.params.zoom) || 1)
|
|
</script>
|