Skip to content

Commit

Permalink
feat(seo): well known
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufalitangoz committed Aug 1, 2024
1 parent 4fd52cf commit 093a846
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const baseUrl = process.env.BASE_URL;

export default defineNuxtConfig({
devtools: { enabled: false },
modules: [
Expand All @@ -14,14 +16,26 @@ export default defineNuxtConfig({
"@vueuse/motion/nuxt",
"@nuxtjs/google-fonts",
"@nuxtjs/i18n",
"@zadigetvoltaire/nuxt-well-known",
],
compatibilityDate: "2024-08-01",
wellKnown: {
devtools: false,
securityTxt: {
disabled: false,
contacts: ["mailto:you@domain.com"],
expires: new Date("2025-08-01"),
preferredLanguages: ["tr", "en"],
canonical: [`${baseUrl}/.well-known/security.txt`],
},
},
googleFonts: {
families: {
Inter: true,
},
},
i18n: {
baseUrl: "https://boilerplate.yali.dev",
baseUrl,
defaultLocale: "tr",
langDir: "locales/",
locales: [
Expand Down

0 comments on commit 093a846

Please sign in to comment.