owltide/nuxt.config.ts

37 lines
820 B
TypeScript
Raw Normal View History

/*
SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
SPDX-License-Identifier: AGPL-3.0-or-later
*/
2025-03-01 16:52:23 +01:00
// https://nuxt.com/docs/api/configuration/nuxt-config
const enableDevtools = !process.env.DISABLE_DEV_TOOLS
2025-03-01 16:52:23 +01:00
export default defineNuxtConfig({
experimental: { renderJsonPayloads: true },
2025-03-01 17:06:41 +01:00
compatibilityDate: '2024-11-01',
devtools: { enabled: enableDevtools },
app: {
head: {
titleTemplate: "%s - Owltide",
2025-07-01 18:48:01 +02:00
htmlAttrs: {
lang: "en",
},
link: [
{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" },
],
},
},
runtimeConfig: {
cookieSecretKeyFile: "",
vapidSubject: "",
vapidPrivateKeyFile: "",
public: {
defaultTimezone: "Europe/Oslo",
defaultLocale: "en-GB",
vapidPublicKey: "",
}
},
modules: [
"@nuxt/test-utils/module",
"@pinia/nuxt",
],
2025-03-01 16:52:23 +01:00
})