owltide/nuxt.config.ts
Hornwitser 75abd82f81 Workaround issue with VSCode Nuxtr
When the object passed to defineNuxtConfig contains logic for enable
devtools option the Nuxtr plugin annoyingly shows an endlessly spinning
orb on the statusline.
2025-06-12 14:01:50 +02:00

18 lines
423 B
TypeScript

// https://nuxt.com/docs/api/configuration/nuxt-config
const enableDevtools = !process.env.DISABLE_DEV_TOOLS
export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
devtools: { enabled: enableDevtools },
runtimeConfig: {
cookieSecretKeyFile: "",
vapidSubject: "",
vapidPrivateKeyFile: "",
public: {
defaultTimezone: "Europe/Oslo",
vapidPublicKey: "",
}
},
modules: [
"@pinia/nuxt",
],
})