From a0db4c1de4f892c97f8cc4f49db01986603c114b Mon Sep 17 00:00:00 2001 From: Frank Agerholm Date: Sun, 25 Jan 2026 10:56:31 +0100 Subject: [PATCH] tailwindcss configuration and API endpoint --- frontend/assets/css/tailwind.css | 4 ++++ frontend/nuxt.config.ts | 15 +++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 frontend/assets/css/tailwind.css diff --git a/frontend/assets/css/tailwind.css b/frontend/assets/css/tailwind.css new file mode 100644 index 0000000..a90f074 --- /dev/null +++ b/frontend/assets/css/tailwind.css @@ -0,0 +1,4 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts index b6baa24..1138a9a 100644 --- a/frontend/nuxt.config.ts +++ b/frontend/nuxt.config.ts @@ -1,5 +1,16 @@ // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ - compatibilityDate: '2025-07-15', - devtools: { enabled: true } + modules: [ "@nuxtjs/tailwindcss" ], + srr: true, + nitro: { + preset: "static" + }, + css: ["~/assets/css/tailwind.css"] + compatibilityDate: '2025-07-15', + devtools: { enabled: true }, + runtimeConfig: { + public: { + apiBase: "http://localhost:8000" // später per ENV überschreibbar + } + } })