export default defineNuxtConfig({
  compatibilityDate: "2024-11-01",
  devtools: { enabled: true },
  modules: ["nuxt-directus", "vuetify-nuxt-module", "@vite-pwa/nuxt"],
  app: {
    head: {
      titleTemplate: "%s • Port Nimara Client Portal",
      title: "Port Nimara Client Portal",
      meta: [
        { property: "og:title", content: "Port Nimara Client Portal" },
        { property: "og:image", content: "/og-image.png" },
        { name: "twitter:card", content: "summary_large_image" },
      ],
      htmlAttrs: {
        lang: "en",
      },
    },
  },
  runtimeConfig: {
    public: {
      directus: {
        url: "https://cms.portnimara.dev",
      },
    },
  },
  vuetify: {
    vuetifyOptions: {
      theme: {
        defaultTheme: "portnimara",
        themes: {
          portnimara: {
            colors: {
              primary: "#387bca",
            },
          },
        },
      },
    },
  },
});
