WIP: Frontend implementation #1

Draft
fager wants to merge 19 commits from ch-frontend into main
2 changed files with 17 additions and 2 deletions
Showing only changes of commit a0db4c1de4 - Show all commits

tailwindcss configuration and API endpoint

Frank Agerholm 2026-01-25 10:56:31 +01:00
No known key found for this signature in database

View file

@ -0,0 +1,4 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

View file

@ -1,5 +1,16 @@
// https://nuxt.com/docs/api/configuration/nuxt-config // https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({ export default defineNuxtConfig({
compatibilityDate: '2025-07-15', modules: [ "@nuxtjs/tailwindcss" ],
devtools: { enabled: true } 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
}
}
}) })