ff-webpage/nuxt.config.ts

50 lines
1.1 KiB
TypeScript
Raw Normal View History

2024-10-30 14:02:47 +00:00
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
baseURL: "/",
head: {
2024-11-06 07:59:07 +00:00
title: "Feuerwehr",
2024-10-30 14:02:47 +00:00
htmlAttrs: {
lang: "de",
},
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ hid: "description", name: "description", content: "" },
{ name: "format-detection", content: "telephone=no" },
],
2024-11-05 13:45:08 +00:00
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.png" }],
2024-10-30 14:02:47 +00:00
},
},
css: ["~/assets/app.css", "~/assets/ConthraxSemiBold.css"],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
compatibilityDate: "2024-04-03",
devtools: { enabled: false },
2024-11-01 13:15:09 +00:00
modules: ["@nuxtjs/strapi", "@nuxt/image"],
2024-10-30 14:02:47 +00:00
strapi: {
2024-11-06 07:59:07 +00:00
url: process.env.PUBLIC_STRAPI_URL,
2024-10-30 14:02:47 +00:00
prefix: "/api",
version: "v5",
2024-10-30 14:02:47 +00:00
},
2024-11-05 17:31:12 +00:00
runtimeConfig: {
public: {
strapi: {
2024-11-06 07:59:07 +00:00
url: process.env.PUBLIC_STRAPI_URL ?? "localhost:1337",
2024-11-05 17:31:12 +00:00
},
app: {
2024-11-06 07:59:07 +00:00
title: process.env.PUBLIC_APP_TITLE ?? "Feuerwehr",
2024-11-05 17:31:12 +00:00
},
},
},
});