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 + } + } })