Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/hello-zero-nuxt.
Something went wrong. Try again.
hello-zero-nuxt nuxt.config.ts
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748// https://nuxt.com/docs/api/configuration/nuxt-configexport default defineNuxtConfig({ modules: ['@nuxt/eslint', '@nuxt/fonts'], devtools: { enabled: true }, app: { head: { title: 'When??', htmlAttrs: { lang: 'en' }, }, }, css: ['~/assets/index.css'], runtimeConfig: { zero: { jwtSecret: process.env.ZERO_AUTH_SECRET || '', }, public: { zero: { server: '', }, }, }, future: { compatibilityVersion: 4 }, compatibilityDate: '2024-04-03', nitro: { typescript: { tsConfig: { compilerOptions: { skipLibCheck: true, }, exclude: ['../app/**/*', '../nuxt.config.ts'], }, }, }, vite: { optimizeDeps: { esbuildOptions: { target: 'es2022', }, include: ['@rocicorp/zero'], }, }, eslint: { config: { stylistic: true, }, },})