The dev tools built into Nuxt take up way too much resources to run on low end hardware. Add config to disable it.
17 lines
385 B
TypeScript
17 lines
385 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2024-11-01',
|
|
devtools: { enabled: !process.env.DISABLE_DEV_TOOLS },
|
|
runtimeConfig: {
|
|
cookieSecretKeyFile: "",
|
|
vapidSubject: "",
|
|
vapidPrivateKeyFile: "",
|
|
public: {
|
|
defaultTimezone: "Europe/Oslo",
|
|
vapidPublicKey: "",
|
|
}
|
|
},
|
|
modules: [
|
|
"@pinia/nuxt",
|
|
],
|
|
})
|