Add initial project structure with backend and frontend setup
- 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.
This commit is contained in:
18
frontend-nuxt/pages/grid/[map]/[gridX]/[gridY]/[zoom].vue
Normal file
18
frontend-nuxt/pages/grid/[map]/[gridX]/[gridY]/[zoom].vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user