Add configuration files and update project documentation
- Introduced .editorconfig for consistent coding styles across the project. - Added .golangci.yml for Go linting configuration. - Updated AGENTS.md to clarify project structure and components. - Enhanced CONTRIBUTING.md with Makefile usage for common tasks. - Updated Dockerfiles to use Go 1.24 and improved build instructions. - Refined README.md and deployment documentation for clarity. - Added testing documentation in testing.md for backend and frontend tests. - Introduced Makefile for streamlined development commands and tasks.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
import { viteUriGuard } from './vite/vite-uri-guard'
|
||||
|
||||
export default defineNuxtConfig({
|
||||
@@ -27,20 +28,18 @@ export default defineNuxtConfig({
|
||||
},
|
||||
},
|
||||
|
||||
modules: ['@nuxtjs/tailwindcss'],
|
||||
tailwindcss: {
|
||||
cssPath: '~/assets/css/app.css',
|
||||
},
|
||||
modules: ['@nuxt/eslint'],
|
||||
css: ['~/assets/css/app.css', 'leaflet/dist/leaflet.css', '~/assets/css/leaflet-overrides.css'],
|
||||
|
||||
vite: {
|
||||
plugins: [viteUriGuard()],
|
||||
plugins: [tailwindcss(), viteUriGuard() as never],
|
||||
optimizeDeps: {
|
||||
include: ['leaflet'],
|
||||
},
|
||||
},
|
||||
|
||||
// Dev: proxy /map API, SSE and grids to Go backend (e.g. docker compose -f docker-compose.dev.yml)
|
||||
// @ts-expect-error nitro types lag behind Nuxt compat v4
|
||||
nitro: {
|
||||
devProxy: {
|
||||
'/map/api': { target: 'http://backend:3080/map/api', changeOrigin: true },
|
||||
|
||||
Reference in New Issue
Block a user