tailwindcss configuration and API endpoint
This commit is contained in:
parent
138935c2d0
commit
a0db4c1de4
2 changed files with 17 additions and 2 deletions
4
frontend/assets/css/tailwind.css
Normal file
4
frontend/assets/css/tailwind.css
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
||||||
|
|
||||||
|
|
@ -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({
|
||||||
|
modules: [ "@nuxtjs/tailwindcss" ],
|
||||||
|
srr: true,
|
||||||
|
nitro: {
|
||||||
|
preset: "static"
|
||||||
|
},
|
||||||
|
css: ["~/assets/css/tailwind.css"]
|
||||||
compatibilityDate: '2025-07-15',
|
compatibilityDate: '2025-07-15',
|
||||||
devtools: { enabled: true }
|
devtools: { enabled: true },
|
||||||
|
runtimeConfig: {
|
||||||
|
public: {
|
||||||
|
apiBase: "http://localhost:8000" // später per ENV überschreibbar
|
||||||
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue