Improve i18n-related SEO (#1366)

This commit is contained in:
Sasha Sorokin
2023-09-17 03:07:52 +02:00
committed by GitHub
parent b88e63d133
commit bd4da4f365
3 changed files with 22 additions and 8 deletions

View File

@@ -317,8 +317,21 @@ export default defineNuxtConfig({
modules: ['@vintl/nuxt', '@nuxtjs/turnstile'],
vintl: {
defaultLocale: 'en-US',
locales: [
{
tag: 'en-US',
meta: {
static: {
iso: 'en',
},
},
},
],
storage: 'cookie',
parserless: 'only-prod',
seo: {
defaultLocaleHasParameter: false,
},
},
turnstile: {
siteKey: '0x4AAAAAAAHWfmKCm7cUG869',